GetBotCommands

class pyrogram.raw.functions.bots.GetBotCommands

Obtain a list of bot commands for the specified bot scope and language code.

Details:
  • Layer: 136

  • ID: 0xe34c0dd6

Parameters
  • scope (BotCommandScope) – Command scope.

  • lang_code (str) – Language code.

Returns

List of BotCommand