InputMediaPhoto Interface

{
  "id": 2670,
  "name": "InputMediaPhoto",
  "variant": "declaration",
  "kind": 256,
  "flags": {},
  "children": [
    {
      "id": 2673,
      "name": "caption",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Caption of the photo to be sent, 0-1024 characters after entities parsing"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/types.ts",
          "line": 1859,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 2675,
      "name": "captionEntities",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "List of special entities that appear in the caption, which can be specified instead of "
          },
          {
            "kind": "code",
            "text": "`parseMode`"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/types.ts",
          "line": 1866,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1625,
          "name": "MessageEntity",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 2676,
      "name": "hasSpoiler",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Pass *true* if the photo needs to be covered with a spoiler animation"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/types.ts",
          "line": 1868,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 2672,
      "name": "media",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "File to send. Pass a *fileId* to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name."
          }
        ],
        "blockTags": [
          {
            "tag": "@see",
            "content": [
              {
                "kind": "inline-tag",
                "tag": "@link",
                "text": "https://core.telegram.org/bots/api#sending-files",
                "target": "https://core.telegram.org/bots/api#sending-files"
              }
            ]
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/types.ts",
          "line": 1857,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 2674,
      "name": "parseMode",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Mode for parsing entities in the photo caption."
          }
        ],
        "blockTags": [
          {
            "tag": "@see",
            "content": [
              {
                "kind": "inline-tag",
                "tag": "@link",
                "text": "https://core.telegram.org/bots/api#formatting-options",
                "target": "https://core.telegram.org/bots/api#formatting-options"
              }
            ]
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/types.ts",
          "line": 1864,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2070,
        "name": "ParseMode",
        "package": "tgkit"
      }
    },
    {
      "id": 2671,
      "name": "type",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Type of the result"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/types.ts",
          "line": 1851,
          "character": 1
        }
      ],
      "type": {
        "type": "literal",
        "value": "photo"
      }
    }
  ],
  "groups": [
    {
      "title": "Properties",
      "children": [
        2673,
        2675,
        2676,
        2672,
        2674,
        2671
      ]
    }
  ],
  "sources": [
    {
      "fileName": "packages/tgkit/src/types.ts",
      "line": 1849,
      "character": 17
    }
  ]
}