BotCommands constructor

const BotCommands({
  1. required int botUserId,
  2. required List<BotCommand> commands,
  3. dynamic extra,
  4. 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,
});