GetCommands constructor

const GetCommands({
  1. BotCommandScope? scope,
  2. required String languageCode,
})

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

Implementation

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