1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 18:27:19 +01:00
MadelineProto/old_docs/API_docs_v18/constructors/config.md

781 B

title description
config config attributes, type and example

Constructor: config

Back to constructors index

Attributes:

Name Type Required
date int Required
test_mode Bool Required
this_dc int Required
dc_options Array of DcOption Required
chat_size_max int Required
broadcast_size_max int Required

Type: Config

Example:

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