getMyCommands method

Future<List<BotCommand>> getMyCommands({
  1. BotCommandScope? scope,
  2. String? languageCode,
})
inherited

Implementation

Future<List<BotCommand>> getMyCommands({
  BotCommandScope? scope,
  String? languageCode,
}) {
  return _client.apiCall(_token, 'getMyCommands', {
    'scope': scope,
    'language_code': languageCode,
  });
}