SetTdlibParameters constructor

const SetTdlibParameters({
  1. required bool useTestDc,
  2. required String databaseDirectory,
  3. required String filesDirectory,
  4. required String databaseEncryptionKey,
  5. required bool useFileDatabase,
  6. required bool useChatInfoDatabase,
  7. required bool useMessageDatabase,
  8. required bool useSecretChats,
  9. required int apiId,
  10. required String apiHash,
  11. required String systemLanguageCode,
  12. required String deviceModel,
  13. required String systemVersion,
  14. required String applicationVersion,
  15. required bool enableStorageOptimizer,
  16. required bool ignoreFileNames,
})

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

Implementation

const SetTdlibParameters({
  required this.useTestDc,
  required this.databaseDirectory,
  required this.filesDirectory,
  required this.databaseEncryptionKey,
  required this.useFileDatabase,
  required this.useChatInfoDatabase,
  required this.useMessageDatabase,
  required this.useSecretChats,
  required this.apiId,
  required this.apiHash,
  required this.systemLanguageCode,
  required this.deviceModel,
  required this.systemVersion,
  required this.applicationVersion,
  required this.enableStorageOptimizer,
  required this.ignoreFileNames,
});