TelegramClientTdlibOption constructor

const TelegramClientTdlibOption({
  1. bool isAutoGetChat = false,
  2. int task_max_count = 10000,
  3. int task_min_cooldown = 10,
  4. TelegramClientLibraryTdlibOptionParameter? clientOption,
  5. bool is_cli = false,
  6. Duration? invokeTimeOut,
  7. double timeOutUpdate = 1.0,
  8. Duration? delayInvoke,
  9. Duration? delayUpdate,
  10. FutureOr<String> on_generate_extra_invoke(
    1. int,
    2. TdlibBase
    )?,
  11. FutureOr<Map> on_get_invoke_data(
    1. String,
    2. int,
    3. TdlibBase td
    )?,
  12. EventEmitter? eventEmitter,
  13. FutureOr<void> on_receive_update(
    1. dynamic,
    2. TdlibBase
    )?,
  14. bool isInvokeThrowOnError = true,
})

Implementation

const TelegramClientTdlibOption({
  this.isAutoGetChat = false,
  this.task_max_count = 10000,
  this.task_min_cooldown = 10,
  this.clientOption,
  this.is_cli = false,
  this.invokeTimeOut,
  this.timeOutUpdate = 1.0,
  this.delayInvoke,
  this.delayUpdate,
  this.on_generate_extra_invoke,
  this.on_get_invoke_data,
  this.eventEmitter,
  this.on_receive_update,
  this.isInvokeThrowOnError = true,
});