updateDraftMessage

Notifies a change of a message draft.

updateDraftMessage#edfc111e flags:# peer:Peer top_msg_id:flags.0?int saved_peer_id:flags.1?Peer draft:DraftMessage = Update;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer Peer The peer to which the draft is associated
top_msg_id flags.0?int ID of the forum topic to which the draft is associated
saved_peer_id flags.1?Peer If set, the draft is related to the specified monoforum topic ID ยป.
draft DraftMessage The draft

Type

Update

Related pages

Forums

Telegram allows creating forums with multiple distinct topics.

Monoforum

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.

Message drafts

How to handle message drafts