UpdataMessageTelegramClient constructor

UpdataMessageTelegramClient({
  1. bool bot_is_skip_old_message = false,
  2. bool user_is_skip_old_message = true,
  3. Duration? durationOldMessageSkip,
  4. List<String>? skipOldChatTypes,
})

Implementation

UpdataMessageTelegramClient({
  this.bot_is_skip_old_message = false,
  this.user_is_skip_old_message = true,
  // this.is_use_cache = false,
  // this.duration_expire_cache,
  Duration? durationOldMessageSkip,
  List<String>? skipOldChatTypes,
}) {
  durationOldMessageSkip ??= Duration(seconds: 10);
  skipOldChatTypes ??= ["group", "supergroup", "channel"];

  duration_old_message_skip = durationOldMessageSkip;
  skip_old_chat_types = skipOldChatTypes;
}