mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 23:27:21 +01:00
32 lines
781 B
Markdown
32 lines
781 B
Markdown
|
---
|
||
|
title: config
|
||
|
description: config attributes, type and example
|
||
|
---
|
||
|
## Constructor: config
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|date|[int](../types/int.md) | Required|
|
||
|
|test\_mode|[Bool](../types/Bool.md) | Required|
|
||
|
|this\_dc|[int](../types/int.md) | Required|
|
||
|
|dc\_options|Array of [DcOption](../types/DcOption.md) | Required|
|
||
|
|chat\_size\_max|[int](../types/int.md) | Required|
|
||
|
|broadcast\_size\_max|[int](../types/int.md) | Required|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Config](../types/Config.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, ];
|
||
|
```
|
||
|
|