messages.saveDraft
Save a message draft associated to a chat.
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
no_webpage | Disable generation of the webpage preview | |
reply_to_msg_id | Message ID the message should reply to | |
peer | Destination of the message that should be sent | |
message | The draft | |
entities | flags.3?Vector < MessageEntity > | Message entities for styled text |
Result
Possible errors
Code | Type | Description |
400 | PEER_ID_INVALID | The provided peer id is invalid |
Can bots use this methd ?
yes
Related pages
How to create styled text with message entities
How to handle message drafts
Last updated