# danog\MadelineProto\Settings

Back to index

Author: Daniil Gentili daniil@daniil.it

Settings class used for configuring MadelineProto.

# Method list:

# Methods:

# merge(\danog\MadelineProto\SettingsAbstract $settings): void

Merge another instance of settings.

Parameters:

# See also:

# getDefaultDc(): int

Get default DC ID.

# getDefaultDcParams(): array

Get default DC params.

# setDefaultDc(int $dc): self

Set default DC ID.

Parameters:

# getAppInfo(): \danog\MadelineProto\Settings\AppInfo

Get app information.

# See also:

# setAppInfo(\danog\MadelineProto\Settings\AppInfo $appInfo): self

Set app information.

Parameters:

# See also:

# getAuth(): \danog\MadelineProto\Settings\Auth

Get cryptography settings.

# See also:

# setAuth(\danog\MadelineProto\Settings\Auth $auth): self

Set cryptography settings.

Parameters:

# See also:

# getConnection(): \danog\MadelineProto\Settings\Connection

Get connection settings.

# See also:

# setConnection(\danog\MadelineProto\Settings\Connection $connection): self

Set connection settings.

Parameters:

# See also:

# getFiles(): \danog\MadelineProto\Settings\Files

Get file management settings.

# See also:

# setFiles(\danog\MadelineProto\Settings\Files $files): self

Set file management settings.

Parameters:

# See also:

# getLogger(): \danog\MadelineProto\Settings\Logger

Get logger settings.

# See also:

# setLogger(\danog\MadelineProto\Settings\Logger $logger): self

Set logger settings.

Parameters:

# See also:

# getPeer(): \danog\MadelineProto\Settings\Peer

Get peer database settings.

# See also:

# setPeer(\danog\MadelineProto\Settings\Peer $peer): self

Set peer database settings.

Parameters:

# See also:

# getPwr(): \danog\MadelineProto\Settings\Pwr

Get PWRTelegram settings.

# See also:

# setPwr(\danog\MadelineProto\Settings\Pwr $pwr): self

Set PWRTelegram settings.

Parameters:

# See also:

# getRpc(): \danog\MadelineProto\Settings\RPC

Get RPC settings.

# See also:

# setRpc(\danog\MadelineProto\Settings\RPC $rpc): self

Set RPC settings.

Parameters:

# See also:

# getSecretChats(): \danog\MadelineProto\Settings\SecretChats

Get secret chat settings.

# See also:

# setSecretChats(\danog\MadelineProto\Settings\SecretChats $secretChats): self

Set secret chat settings.

Parameters:

# See also:

# getSerialization(): \danog\MadelineProto\Settings\Serialization

Get serialization settings.

# See also:

# setSerialization(\danog\MadelineProto\Settings\Serialization $serialization): self

Set serialization settings.

Parameters:

# See also:

# getSchema(): \danog\MadelineProto\Settings\TLSchema

Get TL schema settings.

# See also:

# setSchema(\danog\MadelineProto\Settings\TLSchema $schema): self

Set TL schema settings.

Parameters:

# See also:

# getDb(): \danog\MadelineProto\Settings\DatabaseAbstract

Get database settings.

# See also:

# setDb(\danog\MadelineProto\Settings\DatabaseAbstract $db): self

Set database settings.

Parameters:

# See also:

# getIpc(): \danog\MadelineProto\Settings\Ipc

Get IPC server settings.

# See also:

# setIpc(\danog\MadelineProto\Settings\Ipc $ipc): self

Set IPC server settings.

Parameters:

# See also:

# getTemplates(): \danog\MadelineProto\Settings\Templates

Get template settings.

# See also:

# setTemplates(\danog\MadelineProto\Settings\Templates $templates): self

Set template settings.

Parameters:

# See also:

# getVoip(): \danog\MadelineProto\Settings\VoIP

Get voIP settings.

# See also:

# setVoip(\danog\MadelineProto\Settings\VoIP $voip): self

Set voIP settings.

Parameters:

# See also:


Generated by danog/phpdoc

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.