46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
|
---
|
||
|
title: help.termsOfServiceUpdate
|
||
|
description: Terms of service update
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: help.termsOfServiceUpdate
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Terms of service update
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|expires|[int](../types/int.md) | Yes|Expires|
|
||
|
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|Terms of service|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "help.termsOfServiceUpdate", "expires": int, "terms_of_service": help_TermsOfService}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService}
|
||
|
|
||
|
```
|
||
|
|
||
|
|