{
"id": 2677,
"name": "InputMediaVideo",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2681,
"name": "caption",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Caption of the video to be sent, 0-1024 characters after entities parsing"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1886,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2683,
"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": 1893,
"character": 1
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 1625,
"name": "MessageEntity",
"package": "tgkit",
"qualifiedName": "default"
}
}
},
{
"id": 2686,
"name": "duration",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Video duration in seconds"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1899,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2688,
"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": 1903,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2685,
"name": "height",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Video height"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1897,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2679,
"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": 1879,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2682,
"name": "parseMode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Mode for parsing entities in the video 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": 1891,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2070,
"name": "ParseMode",
"package": "tgkit"
}
},
{
"id": 2687,
"name": "supportsStreaming",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the uploaded video is suitable for streaming"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1901,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2680,
"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": 1884,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2678,
"name": "type",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Type of the result"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1873,
"character": 1
}
],
"type": {
"type": "literal",
"value": "video"
}
},
{
"id": 2684,
"name": "width",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Video width"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1895,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2681,
2683,
2686,
2688,
2685,
2679,
2682,
2687,
2680,
2678,
2684
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1871,
"character": 17
}
]
}