Airgram

Guides
/
/
Output types

Update

Contains notifications about data changes.

The UpdateUnion type represents one of the following types:

UpdateTermsOfService

New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update".


NameTypeDescription
_"updateTermsOfService"
termsOfServiceIdstring Identifier of the terms of service
termsOfService The new terms of service