2018-06-29 13:59:08 +02:00
|
|
|
---
|
|
|
|
title: help.termsOfServiceUpdate
|
|
|
|
description: help_termsOfServiceUpdate attributes, type and example
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: help.termsOfServiceUpdate
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|---------------|----------|
|
|
|
|
|expires|[int](../types/int.md) | Yes|
|
|
|
|
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
2018-10-17 17:10:50 +02:00
|
|
|
```php
|
2018-06-29 13:59:08 +02:00
|
|
|
$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}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2018-10-17 17:10:50 +02:00
|
|
|
Or, if you're into Lua:
|
2018-06-29 13:59:08 +02:00
|
|
|
|
2018-10-17 17:10:50 +02:00
|
|
|
```lua
|
2018-06-29 13:59:08 +02:00
|
|
|
help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|