Constructor: help.termsOfServiceUpdate

Back to constructors index

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”


Name Type Required Description
expires int Yes New TOS updates will have to be queried using help.getTermsOfServiceUpdate in expires seconds
terms_of_service help.TermsOfService Yes New terms of service

Type: help.TermsOfServiceUpdate


$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService];

Or, if you’re into Lua:

help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.