copyWith method

BotCommandScopeChatMember copyWith({
  1. int? chatId,
  2. int? userId,
})

Implementation

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