Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateHavePendingNotifications

Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.


NameTypeDescription
_"updateHavePendingNotifications"
haveDelayedNotificationsboolean True, if there are some delayed notification updates, which will be sent soon
haveUnreceivedNotificationsboolean True, if there can be some yet unreceived notifications, which are being fetched from the server