bots.SetBotCommands#

class pyrogram.raw.functions.bots.SetBotCommands#

Set bot command list.

Details:
  • Layer: 158

  • ID: 517165A

Parameters:
  • scope (BotCommandScope) – Command scope.

  • lang_code (str) – Language code.

  • commands (List of BotCommand) – Bot commands.

Returns:

bool