mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 16:47:24 +01:00
46 lines
975 B
Markdown
46 lines
975 B
Markdown
---
|
|
title: help.configSimple
|
|
description: help_configSimple attributes, type and example
|
|
---
|
|
## 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|
|
|
|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]];
|
|
```
|
|
|
|
[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}}
|
|
|
|
```
|
|
|
|
|