{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telegram/json-schema/telegram-user-profile-photos-response-schema.json",
  "title": "UserProfilePhotosResponse",
  "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/UserProfilePhotosResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "result": {
      "$ref": "#/$defs/UserProfilePhotos"
    }
  },
  "$defs": {
    "UserProfilePhotos": {
      "type": "object",
      "properties": {
        "total_count": {
          "type": "integer",
          "description": "Total number of profile pictures the target user has"
        },
        "photos": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "description": "Requested profile pictures (in up to 4 sizes each)"
        }
      },
      "required": [
        "total_count",
        "photos"
      ]
    }
  }
}