Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateServiceNotification

A service notification from the server was received. Upon receiving this the application must show a popup with the content of the notification.


NameTypeDescription
_"updateServiceNotification"
typestring Notification type. If type begins with "AUTH_KEY_DROP_", then two buttons "Cancel" and "Log out" must be shown under notification; if user presses the second, all local data must be destroyed using Destroy method
content Notification content