danog\MadelineProto\Settings
Author: Daniil Gentili daniil@daniil.it
Settings class used for configuring MadelineProto.
Method list:
__construct()merge(\danog\MadelineProto\SettingsAbstract $settings): voidgetAppInfo(): \danog\MadelineProto\Settings\AppInfosetAppInfo(\danog\MadelineProto\Settings\AppInfo $appInfo): selfgetAuth(): \danog\MadelineProto\Settings\AuthsetAuth(\danog\MadelineProto\Settings\Auth $auth): selfgetConnection(): \danog\MadelineProto\Settings\ConnectionsetConnection(\danog\MadelineProto\Settings\Connection $connection): selfgetFiles(): \danog\MadelineProto\Settings\FilessetFiles(\danog\MadelineProto\Settings\Files $files): selfgetMetrics(): \danog\MadelineProto\Settings\MetricssetMetrics(\danog\MadelineProto\Settings\Metrics $metrics): selfgetLogger(): \danog\MadelineProto\Settings\LoggersetLogger(\danog\MadelineProto\Settings\Logger $logger): selfgetPeer(): \danog\MadelineProto\Settings\PeersetPeer(\danog\MadelineProto\Settings\Peer $peer): selfgetRpc(): \danog\MadelineProto\Settings\RPCsetRpc(\danog\MadelineProto\Settings\RPC $rpc): selfgetSecretChats(): \danog\MadelineProto\Settings\SecretChatssetSecretChats(\danog\MadelineProto\Settings\SecretChats $secretChats): selfgetSerialization(): \danog\MadelineProto\Settings\SerializationsetSerialization(\danog\MadelineProto\Settings\Serialization $serialization): selfgetSchema(): \danog\MadelineProto\Settings\TLSchemasetSchema(\danog\MadelineProto\Settings\TLSchema $schema): selfgetDb(): \danog\MadelineProto\Settings\DatabaseAbstractsetDb(\danog\MadelineProto\Settings\DatabaseAbstract $db): selfgetIpc(): \danog\MadelineProto\Settings\IpcsetIpc(\danog\MadelineProto\Settings\Ipc $ipc): selfapplyChanges(): \danog\MadelineProto\SettingsAbstractgetTemplates(): \danog\MadelineProto\Settings\TemplatessetTemplates(\danog\MadelineProto\Settings\Templates $templates): selfgetVoip(): \danog\MadelineProto\Settings\VoIPsetVoip(\danog\MadelineProto\Settings\VoIP $voip): self
Methods:
__construct()
Constructor.
merge(\danog\MadelineProto\SettingsAbstract $settings): void
Merge another instance of settings.
Parameters:
$settings:\danog\MadelineProto\SettingsAbstractSettings
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\AppInfoApp 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\AuthCryptography 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\ConnectionConnection 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\FilesFile 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\MetricsFile 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\LoggerLogger 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\PeerPeer 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\RPCRPC 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\SecretChatsSecret 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\SerializationSerialization 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\TLSchemaTL 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\DatabaseAbstractDatabaseAbstract 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\IpcIPC 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\TemplatesTemplate 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\VoIPVoIP settings.
See also:
Generated by danog/phpdoc