SetTdlibParameters constructor

SetTdlibParameters(
  1. {required bool use_test_dc,
  2. String? database_directory,
  3. String? files_directory,
  4. required bytes database_encryption_key,
  5. required bool use_file_database,
  6. required bool use_chat_info_database,
  7. required bool use_message_database,
  8. required bool use_secret_chats,
  9. required int api_id,
  10. required String api_hash,
  11. required String system_language_code,
  12. required String device_model,
  13. String? system_version,
  14. required String application_version,
  15. required bool enable_storage_optimizer,
  16. required bool ignore_file_names,
  17. int? extra,
  18. int? clientId}
)

Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters

Returns Ok

Implementation

SetTdlibParameters