Application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org.
Application identifier for Telegram API access, which can be obtained at https://my.telegram.org.
Application version; must be non-empty.
The path to the directory for the persistent database; if empty, the current working directory will be used.
Encryption key for the database. If the encryption key is invalid, then an error with code 401 will be returned.
Model of the device the application is being run on; must be non-empty.
The path to the directory for storing files; if empty, database_directory will be used.
IETF language tag of the user's operating system language; must be non-empty.
Version of the operating system the application is being run on. If empty, the version is automatically detected by TDLib.
Optional
use_Pass true to keep cache of users, basic groups, supergroups, channels and secret chats between restarts. Implies use_file_database.
Optional
use_Pass true to keep information about downloaded and uploaded files between application restarts.
Optional
use_Pass true to keep cache of chats and messages between restarts. Implies use_chat_info_database.
Optional
use_Pass true to enable support for secret chats.
Optional
use_Pass true to use Telegram test environment instead of the production environment.
Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters. Request type for Tdjson#setTdlibParameters.