Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateNotificationGroup

A list of active notifications in a notification group has changed.


NameTypeDescription
_"updateNotificationGroup"
notificationGroupIdnumber Unique notification group identifier
type New type of the notification group
chatIdnumber Identifier of a chat to which all notifications in the group belong
notificationSettingsChatIdnumber Chat identifier, which notification settings must be applied to the added notifications
isSilentboolean True, if the notifications must be shown without sound
totalCountnumber Total number of unread notifications in the group, can be bigger than number of active notifications
addedNotifications List of added group notifications, sorted by notification ID
removedNotificationIdsnumber[] Identifiers of removed group notifications, sorted by notification ID