{ "meta": {}, "group": { "title": "Available methods", "anchor": "available-methods" }, "object": { "anchor": "sendmessagedraft", "name": "sendMessageDraft", "description": "Use this method to stream a partial message to a user while the message is being generated. Returns True on success.", "html_description": "

Use this method to stream a partial message to a user while the message is being generated. Returns True on success.

", "rst_description": "Use this method to stream a partial message to a user while the message is being generated. Returns :code:`True` on success.", "annotations": [ { "type": "Integer", "required": true, "description": "Unique identifier for the target private chat", "html_description": "Unique identifier for the target private chat", "rst_description": "Unique identifier for the target private chat\n", "name": "chat_id" }, { "type": "Integer", "required": false, "description": "Unique identifier for the target message thread", "html_description": "Unique identifier for the target message thread", "rst_description": "Unique identifier for the target message thread\n", "name": "message_thread_id" }, { "type": "Integer", "required": true, "description": "Unique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated", "html_description": "Unique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated", "rst_description": "Unique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated\n", "name": "draft_id" }, { "type": "String", "required": true, "description": "Text of the message to be sent, 1-4096 characters after entities parsing", "html_description": "Text of the message to be sent, 1-4096 characters after entities parsing", "rst_description": "Text of the message to be sent, 1-4096 characters after entities parsing\n", "name": "text" }, { "type": "String", "required": false, "description": "Mode for parsing entities in the message text. See formatting options for more details.", "html_description": "Mode for parsing entities in the message text. See formatting options for more details.", "rst_description": "Mode for parsing entities in the message text. See `formatting options `_ for more details.\n", "name": "parse_mode" }, { "type": "Array of MessageEntity", "required": false, "description": "A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode", "html_description": "A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode", "rst_description": "A JSON-serialized list of special entities that appear in message text, which can be specified instead of *parse_mode*\n", "name": "entities" } ], "category": "methods" } }