bots.GetBotCommands

class hydrogram.raw.functions.bots.GetBotCommands[source]

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

Details:
  • Layer: 181

  • ID: E34C0DD6

Parameters:
  • scope (BotCommandScope) – Command scope

  • lang_code (str) – Language code

Returns:

List of BotCommand