1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 22:39:37 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/help_termsOfService.md

706 B

title description
help.termsOfService help_termsOfService attributes, type and example

Constructor: help.termsOfService

Back to constructors index

Attributes:

Name Type Required
text string Yes

Type: help_TermsOfService

Example:

$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string'];

PWRTelegram json-encoded version:

{"_": "help.termsOfService", "text": "string"}

Or, if you're into Lua:

help_termsOfService={_='help.termsOfService', text='string'}