send_message
Send a chat message to a Talk conversation, supporting Markdown, @mentions, replies, and thread creation or continuation.
Instructions
Send a chat message to a Talk conversation.
Supports Markdown formatting. Messages can be up to 32000 characters. Use @mention syntax to mention users: @"user-id" or @"display name".
Threads: pass thread_title to start a new thread with this message as its first message; the thread ID is that message's ID and is returned as thread_id, so pass it as thread_id to keep posting into the thread. An existing message cannot be turned into a thread. thread_title cannot be combined with reply_to or thread_id, and thread_id cannot be combined with reply_to (replying to a message inside a thread posts into that thread anyway).
Args: token: The conversation token. Use list_conversations to find tokens. message: The message text to send (supports Markdown). reply_to: Optional message ID to reply to (default: 0 = not a reply). thread_id: Optional ID of an existing thread to post into without quoting a message (default: 0). Use list_threads to find thread IDs. thread_title: Optional title; when set, the message starts a new thread with this title (default: "" = no new thread). Talk shortens titles longer than 203 characters.
Returns: JSON object of the sent message with its assigned ID, its thread_id (0 when the message is not in a thread) and, for thread messages, thread_title.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| message | Yes | ||
| reply_to | No | ||
| thread_id | No | ||
| thread_title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |