telegram api constructor · layer 229 · #780a0310

help.termsOfService

Info about the latest telegram Terms Of Service

definition

help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector<MessageEntity> min_age_confirm:flags.1?int = help.TermsOfService;

parameters

nametypedescription
flags#Flags, see TL conditional fields
popupflags.0?trueWhether a prompt must be showed to the user, in order to accept the new terms.
idDataJSONID of the new terms
textstringText of the new terms
entitiesVector<MessageEntity>Message entities for styled text
min_age_confirmflags.1?intMinimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.

type

help.TermsOfService

history

present in layers 46–229 · constructor id changed 1×

idlayers
#f1ee3e9046–79
#780a031080–229