Constructor: help.termsOfService

Back to constructors index

Info about the latest telegram Terms Of Service

Attributes:

Name Type Required Description
popup Bool Optional Whether a prompt must be showed to the user, in order to accept the new terms.
id DataJSON Yes ID of the new terms
text string Yes Text of the new terms
entities Array of MessageEntity Yes Message entities for styled text
min_age_confirm int Optional Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.

Type: help.TermsOfService

Example:

$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int];

Or, if you’re into Lua:

help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int}

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