Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Direct Message → Send
AI-generatedSummary
Send a direct message to a user or group chat
Inputs
- roomId (required) — The ID of the DM room. Returned by the Create operation.
- text (required) — The text content of the message. Supports Markdown.
- additionalFields — Optional extra fields for the message, such as alias, emoji, or thread reply ID.
Output shape
a single message object
The response contains the created message details; errors are thrown unless continueOnFail is enabled.
Examples
Example 1: Send a simple DM
roomId = {{roomId}}, text = 'Hello!', additionalFields = {}
Example 2: Send a DM with custom alias and emoji
roomId = {{roomId}}, text = 'Meeting at 3pm', additionalFields: {alias: 'Bot', emoji: ':rocket:'}
Example 3: Reply in a thread
roomId = {{roomId}}, text = 'Reply here', additionalFields: {tmid: '12345'}