You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//@description Contains parameters for TDLib initialization
26
-
//@use_test_dc If set to true, the Telegram test environment will be used instead of the production environment
27
-
//@database_directory The path to the directory for the persistent database; if empty, the current working directory will be used
28
-
//@files_directory The path to the directory for storing files; if empty, database_directory will be used
29
-
//@database_encryption_key Encryption key for the database
30
-
//@use_file_database If set to true, information about downloaded and uploaded files will be saved between application restarts
31
-
//@use_chat_info_database If set to true, the library will maintain a cache of users, basic groups, supergroups, channels and secret chats. Implies use_file_database
32
-
//@use_message_database If set to true, the library will maintain a cache of chats and messages. Implies use_chat_info_database
33
-
//@use_secret_chats If set to true, support for secret chats will be enabled
34
-
//@api_id Application identifier for Telegram API access, which can be obtained at https://my.telegram.org
35
-
//@api_hash Application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org
36
-
//@system_language_code IETF language tag of the user's operating system language; must be non-empty
37
-
//@device_model Model of the device the application is being run on; must be non-empty
38
-
//@system_version Version of the operating system the application is being run on. If empty, the version is automatically detected by TDLib
39
-
//@application_version Application version; must be non-empty
40
-
//@enable_storage_optimizer If set to true, old files will automatically be deleted
41
-
//@ignore_file_names 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
//@class AuthenticationCodeType @description Provides information about the method by which an authentication code is delivered to the user
46
26
47
27
//@description An authentication code is delivered via a private Telegram message, which can be viewed from another active session @length Length of the code
//@description TDLib needs the user's phone number to authorize. Call `setAuthenticationPhoneNumber` to provide the phone number, or use `requestQrCodeAuthentication`, or `checkAuthenticationBotToken` for other authentication options
//@description Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters @parameters Parameters for TDLib initialization
//@description Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters
4608
+
//@use_test_dc Pass true to use Telegram test environment instead of the production environment
4609
+
//@database_directory The path to the directory for the persistent database; if empty, the current working directory will be used
4610
+
//@files_directory The path to the directory for storing files; if empty, database_directory will be used
4611
+
//@database_encryption_key Encryption key for the database
4612
+
//@use_file_database Pass true to keep information about downloaded and uploaded files between application restarts
4613
+
//@use_chat_info_database Pass true to keep cache of users, basic groups, supergroups, channels and secret chats between restarts. Implies use_file_database
4614
+
//@use_message_database Pass true to keep cache of chats and messages between restarts. Implies use_chat_info_database
4615
+
//@use_secret_chats Pass true to enable support for secret chats
4616
+
//@api_id Application identifier for Telegram API access, which can be obtained at https://my.telegram.org
4617
+
//@api_hash Application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org
4618
+
//@system_language_code IETF language tag of the user's operating system language; must be non-empty
4619
+
//@device_model Model of the device the application is being run on; must be non-empty
4620
+
//@system_version Version of the operating system the application is being run on. If empty, the version is automatically detected by TDLib
4621
+
//@application_version Application version; must be non-empty
4622
+
//@enable_storage_optimizer Pass true to automatically delete old files in background
4623
+
//@ignore_file_names Pass true to ignore original file names for downloaded files. Otherwise, downloaded files are saved under names as close as possible to the original name
//@description Sets the phone number of the user and sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitPhoneNumber,
4631
4627
//-or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
0 commit comments