2018-06-29 13:59:08 +02:00
|
|
|
---
|
|
|
|
title: help.configSimple
|
|
|
|
description: help_configSimple attributes, type and example
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: help.configSimple
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|---------------|----------|
|
|
|
|
|date|[int](../types/int.md) | Yes|
|
|
|
|
|expires|[int](../types/int.md) | Yes|
|
|
|
|
|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
2018-10-17 17:10:50 +02:00
|
|
|
```php
|
2018-06-29 13:59:08 +02:00
|
|
|
$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]];
|
|
|
|
```
|
|
|
|
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
|
|
|
{"_": "help.configSimple", "date": int, "expires": int, "rules": [AccessPointRule]}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
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_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|