Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateChatDraftMessage

A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied.


NameTypeDescription
_"updateChatDraftMessage"
chatIdnumber Chat identifier
draftMessage The new draft message; may be null
positions The new chat positions in the chat lists