SetCommands constructor

const SetCommands({
  1. BotCommandScope? scope,
  2. required String languageCode,
  3. required List<BotCommand> commands,
})

Sets the list of commands supported by the bot for the given user scope and language; for bots only

Implementation

const SetCommands({
  this.scope,
  required this.languageCode,
  required this.commands,
});