useTestDc | boolean | If set to true, the Telegram test environment will be used instead of the production environment |
databaseDirectory | string | The path to the directory for the persistent database |
filesDirectory | string | The path to the directory for storing files |
useFileDatabase | boolean | If set to true, information about downloaded and uploaded files will be saved between application restarts |
useChatInfoDatabase | boolean | If set to true, the library will maintain a cache of users, basic groups, supergroups, channels and secret chats. Implies useFileDatabase |
useMessageDatabase | boolean | If set to true, the library will maintain a cache of chats and messages. Implies useChatInfoDatabase |
useSecretChats | boolean | If set to true, support for secret chats will be enabled |
apiId | number | Application identifier for Telegram API access, which can be obtained at https://my.telegram.org |
apiHash | string | Application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org |
systemLanguageCode | string | IETF language tag of the user's operating system language |
deviceModel | string | Model of the device the application is being run on |
systemVersion | string | Version of the operating system the application is being run on |
applicationVersion | string | Application version |
enableStorageOptimizer | boolean | If set to true, old files will automatically be deleted |
ignoreFileNames | boolean | If set to true, original file names will be ignored. Otherwise, downloaded files will be saved under names as close as possible to the original name |
databaseEncryptionKey | string | Encryption key |