copyWith method

BotCommandScopeChat copyWith({
  1. int? chatId,
})

Implementation

BotCommandScopeChat copyWith({
  int? chatId,
}) =>
    BotCommandScopeChat(
      chatId: chatId ?? this.chatId,
    );