help.termsOfServiceUpdate
Info about an update of telegram's terms of service. If the terms of service are declined, then the account.deleteAccount method should be called with the reason "Decline ToS update"
type tg.HelpTermsOfServiceUpdate struct { /* ... */ }
Implements help.TermsOfServiceUpdate.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Expires | int | yes | New TOS updates will have to be queried using help.getTermsOfServiceUpdate in expires seconds |
TermsOfService | HelpTermsOfService | yes | New terms of service |
References
- Official documentation
- Generated Go reference
- TL definition:
help.termsOfServiceUpdate#28ecf961