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

nametypedescription
expiresintNew TOS updates will have to be queried using help.getTermsOfServiceUpdate in expires seconds
terms_of_servicehelp.TermsOfServiceNew terms of service

type

help.TermsOfServiceUpdate · other constructors: help.termsOfServiceUpdateEmpty

history

present in layers 80–229

idlayers
#28ecf96180–229