{
  "name": "setMyCommands",
  "anchor": "setmycommands",
  "description": [
    "Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success."
  ],
  "table": {
    "headers": [
      "Parameter",
      "Type",
      "Required",
      "Description"
    ],
    "rows": [
      {
        "parameter": "commands",
        "type": "Array of BotCommand",
        "required": "Yes",
        "description": "A JSON-serialized list of bot commands to be set as the list of the bot's commands. At most 100 commands can be specified."
      },
      {
        "parameter": "scope",
        "type": "BotCommandScope",
        "required": "Optional",
        "description": "A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault ."
      },
      {
        "parameter": "language_code",
        "type": "String",
        "required": "Optional",
        "description": "A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands"
      }
    ]
  },
  "notes": []
}