updateDraftMessage

Notifies a change of a message draft.

Constructor schema is available as of layer 148. Switch »

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