View Source ExTDLib.Object.UpdateTermsOfService (ExTDLib v0.0.4)

New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update".

NameTypeDescription
terms_of_service_idstringIdentifier of the terms of service.
terms_of_servicetermsOfServiceThe new terms of service.

More details on telegram's documentation.