TelegramClientTdlibOption constructor
const
TelegramClientTdlibOption({
- bool isAutoGetChat = false,
- int task_max_count = 10000,
- int task_min_cooldown = 10,
- TelegramClientLibraryTdlibOptionParameter? clientOption,
- bool is_cli = false,
- Duration? invokeTimeOut,
- double timeOutUpdate = 1.0,
- Duration? delayInvoke,
- Duration? delayUpdate,
- FutureOr<
String> on_generate_extra_invoke()?, - FutureOr<
Map> on_get_invoke_data()?, - EventEmitter? eventEmitter,
- FutureOr<
void> on_receive_update(- dynamic,
- TdlibBase
- 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,
});