create_direct_message
Send direct messages to users or groups with text-to-speech audio generation and link attachments in Carbon Voice.
Instructions
Send a Direct Message (DM) to a User or a Group of Users. In order to create a Direct Message, you must provide transcript or link attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| workspace_id | No | The workspace ID to send the message to | personal |
| transcript | No | The Message transcript will be used to generate audio using text-to-speech | |
| links | No | Array of links to be attached to the message | |
| from_message_type | No | From Message type | NewMessage |
| from_message_id | No | Message ID to be used as a base for the new message. (Optional only when from_message_type is NewMessage) |