Skip to main content

updateDraftMessage

Notifies a change of a message draft.

type tg.UpdateDraftMessage struct { /* ... */ }

Implements Update.

Fields​

NameTypeRequiredDescription
PeerPeerClassyesThe peer to which the draft is associated
TopMsgIDint—ID of the forum topic to which the draft is associated
SavedPeerIDPeerClass—If set, the draft is related to the specified monoforum topic ID ».
DraftDraftMessageClassyesThe draft

References​