BotCommands constructor
const
BotCommands({
- required int botUserId,
- required List<
BotCommand> commands, - dynamic extra,
- int? clientId,
BotCommands (botCommands) - basic class
Contains a list of bot commands.
botUserId: Bot's user identifier.commands: List of bot commands.
Implementation
const BotCommands({
required this.botUserId,
required this.commands,
this.extra,
this.clientId,
});