bots.GetBotCommands#

class pyrogram.raw.functions.bots.GetBotCommands#

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

Details:
  • Layer: 158

  • ID: E34C0DD6

Parameters:
  • scope (BotCommandScope) – Command scope.

  • lang_code (str) – Language code.

Returns:

List of BotCommand