# Application identifier for Telegram API access, which can be obtained at https:my.telegram.org api_id = "94575" # Application identifier hash for Telegram API access, which can be obtained at https:my.telegram.org api_hash = "a3406de8d171bb422bb6ddf3bbd800e2" # The path to the directory for the persistent database; if empty, the current working directory will be used # If is not overridden, the database will be in the `tgt` directory. # In Linux and MacOS, the path is: # $HOME/tgt/.data/tg # In Windows, the path is: # C:\Users\YourUsername\tgt\.data\tg database_dir = ".data/tg" # Pass true to keep information about downloaded and uploaded files between application restarts use_file_database = true # Pass true to keep cache of users, basic groups, supergroups, channels and secret chats between restarts. Implies use_file_database use_chat_info_database = true # Pass true to keep cache of chats and messages between restarts. Implies use_chat_info_database use_message_database = true # IETF language tag of the user's operating system language; must be non-empty system_language_code = "en" # Model of the device the application is being run on; must be non-empty device_model = "Desktop" # =========== logging =========== # New value of the verbosity level for logging. # Value 0 corresponds to fatal errors, # value 1 corresponds to errors, # value 2 corresponds to warnings and debug warnings, # value 3 corresponds to informational, # value 4 corresponds to debug, # value 5 corresponds to verbose debug, # value greater than 5 and up to 1023 can be used to enable even more logging verbosity_level = 2 # Path to the file to where the internal TDLib log will be written # If is not overridden, the log will be in the `tgt` directory. # In Linux and MacOS, the path is: # $HOME/tgt/.data/tdlib_rs/tdlib_rs.log # In Windows, the path is: # C:\Users\YourUsername\tgt\.data\tdlib_rs\tdlib_rs.log log_path = ".data/tdlib_rs/tdlib_rs.log" # Pass true to additionally redirect stderr to the log file. Ignored on Windows redirect_stderr = false