Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateChatPosition

The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent.


NameTypeDescription
_"updateChatPosition"
chatIdnumber Chat identifier
position New chat position. If new order is 0, then the chat needs to be removed from the list