Link Search Menu Expand Document

danog\MadelineProto\Settings

Back to index

Author: Daniil Gentili daniil@daniil.it

Settings class used for configuring MadelineProto.

Method list:

Methods:

__construct()

Constructor.

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

Merge another instance of settings.

Parameters:

  • $settings: \danog\MadelineProto\SettingsAbstract Settings

See also:

  • \danog\MadelineProto\SettingsAbstract

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

Get app information.

See also:

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

Set app information.

Parameters:

  • $appInfo: \danog\MadelineProto\Settings\AppInfo App information.

See also:

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

Get cryptography settings.

See also:

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

Set cryptography settings.

Parameters:

  • $auth: \danog\MadelineProto\Settings\Auth Cryptography settings.

See also:

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

Get connection settings.

See also:

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

Set connection settings.

Parameters:

  • $connection: \danog\MadelineProto\Settings\Connection Connection settings.

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:

  • $files: \danog\MadelineProto\Settings\Files File management settings.

See also:

getMetrics(): \danog\MadelineProto\Settings\Metrics

Get metrics settings.

See also:

setMetrics(\danog\MadelineProto\Settings\Metrics $metrics): self

Set metrics settings.

Parameters:

  • $metrics: \danog\MadelineProto\Settings\Metrics File management settings.

See also:

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

Get logger settings.

See also:

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

Set logger settings.

Parameters:

  • $logger: \danog\MadelineProto\Settings\Logger Logger settings.

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:

  • $peer: \danog\MadelineProto\Settings\Peer Peer database settings.

See also:

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

Get RPC settings.

See also:

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

Set RPC settings.

Parameters:

  • $rpc: \danog\MadelineProto\Settings\RPC RPC settings.

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:

  • $secretChats: \danog\MadelineProto\Settings\SecretChats Secret chat settings.

See also:

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

Get serialization settings.

See also:

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

Set serialization settings.

Parameters:

  • $serialization: \danog\MadelineProto\Settings\Serialization Serialization settings.

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:

  • $schema: \danog\MadelineProto\Settings\TLSchema TL schema settings.

See also:

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

Get database settings.

See also:

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

Set database settings.

Parameters:

  • $db: \danog\MadelineProto\Settings\DatabaseAbstract DatabaseAbstract settings.

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:

  • $ipc: \danog\MadelineProto\Settings\Ipc IPC server settings.

See also:

applyChanges(): \danog\MadelineProto\SettingsAbstract

See also:

  • \danog\MadelineProto\SettingsAbstract

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

Get template settings.

See also:

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

Set template settings.

Parameters:

  • $templates: \danog\MadelineProto\Settings\Templates Template settings

See also:

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

Get voIP settings.

See also:

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

Set voIP settings.

Parameters:

  • $voip: \danog\MadelineProto\Settings\VoIP VoIP settings.

See also:


Generated by danog/phpdoc