telegram api constructor · layer 229 · #28ecf961
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"
definition
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
help.TermsOfServiceUpdate · other constructors: help.termsOfServiceUpdateEmpty
history
present in layers 80–229
| id | layers |
|---|---|
| #28ecf961 | 80–229 |