Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateUnreadMessageCount

Number of unread messages in a chat list has changed. This update is sent only if the message database is used.


NameTypeDescription
_"updateUnreadMessageCount"
chatList The chat list with changed number of unread messages
unreadCountnumber Total number of unread messages
unreadUnmutedCountnumber Total number of unread messages in unmuted chats