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"¶
Layer 223
help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; Parameters #
| Name | Type | Description |
|---|---|---|
| expires | int | New TOS updates will have to be queried using help.getTermsOfServiceUpdate in expires seconds |
| terms_of_service | help.TermsOfService | New terms of service |
Type #
Related pages #
help.getTermsOfServiceUpdate #
Look for updates of telegram's terms of service¶
account.deleteAccount #
Delete the user's account from the telegram servers.¶
Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see here » for more info on password recovery, and here » for more info on account deletion.¶