copyWith method
Implementation
BotCommands copyWith({
int? botUserId,
List<BotCommand>? commands,
}) =>
BotCommands(
botUserId: botUserId ?? this.botUserId,
commands: commands ?? this.commands,
);
BotCommands copyWith({
int? botUserId,
List<BotCommand>? commands,
}) =>
BotCommands(
botUserId: botUserId ?? this.botUserId,
commands: commands ?? this.commands,
);