{
"id": 2700,
"name": "InputMediaAudio",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2704,
"name": "caption",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Caption of the audio to be sent, 0-1024 characters after entities parsing"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1954,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2706,
"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": 1961,
"character": 1
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 1625,
"name": "MessageEntity",
"package": "tgkit",
"qualifiedName": "default"
}
}
},
{
"id": 2707,
"name": "duration",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Audio duration in seconds"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1963,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2702,
"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": 1947,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2705,
"name": "parseMode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Mode for parsing entities in the audio 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": 1959,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2070,
"name": "ParseMode",
"package": "tgkit"
}
},
{
"id": 2708,
"name": "performer",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Performer of the audio"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1965,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2703,
"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": 1952,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2709,
"name": "title",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Title of the audio"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1967,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2701,
"name": "type",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Type of the result"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1941,
"character": 1
}
],
"type": {
"type": "literal",
"value": "audio"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2704,
2706,
2707,
2702,
2705,
2708,
2703,
2709,
2701
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1939,
"character": 17
}
]
}