{
"id": 2710,
"name": "InputMediaDocument",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2714,
"name": "caption",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Caption of the document to be sent, 0-1024 characters after entities parsing"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1985,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2716,
"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": 1992,
"character": 1
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 1625,
"name": "MessageEntity",
"package": "tgkit",
"qualifiedName": "default"
}
}
},
{
"id": 2717,
"name": "disableContentTypeDetection",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Disables automatic server-side content type detection for files uploaded using multipart/form-data.\nAlways *true*, if the document is sent as part of an album."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1997,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2712,
"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": 1978,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2715,
"name": "parseMode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Mode for parsing entities in the document 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": 1990,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2070,
"name": "ParseMode",
"package": "tgkit"
}
},
{
"id": 2713,
"name": "thumbnail",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_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": 1983,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2711,
"name": "type",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Type of the result"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1972,
"character": 1
}
],
"type": {
"type": "literal",
"value": "document"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2714,
2716,
2717,
2712,
2715,
2713,
2711
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1970,
"character": 17
}
]
}