mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 11:27:22 +01:00
43 lines
706 B
Markdown
43 lines
706 B
Markdown
|
---
|
||
|
title: help.termsOfService
|
||
|
description: help_termsOfService attributes, type and example
|
||
|
---
|
||
|
## Constructor: help.termsOfService
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|text|[string](../types/string.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [help\_TermsOfService](../types/help_TermsOfService.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string'];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "help.termsOfService", "text": "string"}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
help_termsOfService={_='help.termsOfService', text='string'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|