sendMessageDraft
Stream partial message drafts to a chat in real time while content is being generated, showing progress before the final message is ready.
Instructions
Stream partial messages to a user while being generated. This is useful for AI-powered bots that want to show responses as they're being created. Allows progressive message delivery during content generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target channel (in the format @channelusername). | |
| draft_message | Yes | The draft message content to stream to the user. Contains text and optional formatting. | |
| reply_parameters | No | Description of the message to reply to. | |
| message_thread_id | No | Unique identifier for the target message thread (topic) of the forum; for forum supergroups only. | |
| business_connection_id | No | Unique identifier of the business connection on behalf of which the message will be sent. | |
| direct_messages_topic_id | No | Unique identifier for the target direct messages topic; for bots only. |