Skip to content

UpdateTermsOfService

Update · TDLib 1.8.67 · d1085f9c

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"

UpdateTermsOfService(
  terms_of_service_id: string,
  terms_of_service: TermsOfService
) → Update

terms_of_service_id

string

Identifier of the terms of service

terms_of_service

TermsOfService

The new terms of service