1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 21:07:21 +01:00
MadelineProto/old_docs/API_docs_v23/constructors/config.md

1.0 KiB

title description
config config attributes, type and example

Constructor: config

Back to constructors index

Attributes:

Name Type Required
date int Required
expires int Required
test_mode Bool Required
this_dc int Required
dc_options Array of DcOption Required
chat_big_size int Required
chat_size_max int Required
broadcast_size_max int Required
disabled_features Array of DisabledFeature Required

Type: Config

Example:

$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_big_size' => int, 'chat_size_max' => int, 'broadcast_size_max' => int, 'disabled_features' => [Vector t], ];