updateDraftMessage #

Notifies a change of a message draft.

Layer 223

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

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerPeerThe peer to which the draft is associated
top_msg_idflags.0?intID of the forum topic to which the draft is associated
saved_peer_idflags.1?PeerIf set, the draft is related to the specified monoforum topic ID ».
draftDraftMessageThe draft

Type #

Update

Forum topics #

Telegram allows creating forums with multiple distinct topics.

Direct messages to channels #

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

Message drafts #

How to handle message drafts