{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telegram/json-schema/telegram-bot-commands-response-schema.json",
  "title": "BotCommandsResponse",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telegram-bot-info-api-openapi.yml#/components/schemas/BotCommandsResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "result": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BotCommand"
      }
    }
  },
  "$defs": {
    "BotCommand": {
      "type": "object",
      "properties": {
        "command": {
          "type": "string",
          "description": "Text of the command (1-32 characters, lowercase, no spaces)"
        },
        "description": {
          "type": "string",
          "description": "Description of the command (3-256 characters)"
        }
      },
      "required": [
        "command",
        "description"
      ]
    }
  }
}