MadelineProtoDocs/old_docs/API_docs_v68/constructors/help_configSimple.md

47 lines
1.0 KiB
Markdown
Raw Normal View History

2018-04-01 13:24:46 +02:00
---
title: help.configSimple
description: help_configSimple attributes, type and example
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:24:46 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: help.configSimple
2018-04-01 13:24:46 +02:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|date|[int](../types/int.md) | Yes|
|expires|[int](../types/int.md) | Yes|
|dc\_id|[int](../types/int.md) | Yes|
|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|
### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md)
### Example:
```
$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "help.configSimple", "date": int, "expires": int, "dc_id": int, "ip_port_list": [ipPort]}
```
Or, if you're into Lua:
```
help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}}
```