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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
popup | true | Whether a prompt must be showed to the user, in order to accept the new terms. |
id | DataJSON | ID of the new terms |
text | string | Text of the new terms |
entities | Vector<MessageEntity> | Message entities for styled text |
min_age_confirm | int | Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age. |
type
history
present in layers 46–229 · constructor id changed 1×
| id | layers |
|---|---|
| #f1ee3e90 | 46–79 |
| #780a0310 | 80–229 |