TelegramClient constructor

TelegramClient({
  1. EventEmitter? eventEmitter,
  2. String event_invoke = "tg_client_invoke",
  3. String event_update = "tg_client_update",
  4. Directory? directory_temp,
})

return original data json

Implementation

TelegramClient({
  EventEmitter? eventEmitter,
  this.event_invoke = "tg_client_invoke",
  this.event_update = "tg_client_update",
  this.directory_temp,
}) {
  if (eventEmitter != null) {
    event_emitter = eventEmitter;
  } else {
    event_emitter = EventEmitter();
  }
}