VideoNote Class
extends BaseRepresents a video message
Properties
client: Client
duration: number
fileId: string
fileSize: number
fileUniqueId: string
length: number
thumbnail: PhotoSize
Methods
{ "id": 1944, "name": "VideoNote", "variant": "declaration", "kind": 128, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Represents a video message" } ], "blockTags": [ { "tag": "@see", "content": [ { "kind": "inline-tag", "tag": "@link", "text": "https://telegram.org/blog/video-messages-and-telescope", "target": "https://telegram.org/blog/video-messages-and-telescope" } ] } ] }, "children": [ { "id": 1945, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 32, "character": 1 } ], "signatures": [ { "id": 1946, "name": "new VideoNote", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 32, "character": 1 } ], "parameters": [ { "id": 1947, "name": "client", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 1, "name": "Client", "package": "tgkit", "qualifiedName": "default" } }, { "id": 1948, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "reference", "target": 1944, "name": "VideoNote", "package": "tgkit", "qualifiedName": "default" }, "overwrites": { "type": "reference", "target": -1, "name": "Base.constructor" } } ], "overwrites": { "type": "reference", "target": -1, "name": "Base.constructor" } }, { "id": 1955, "name": "client", "variant": "declaration", "kind": 1024, "flags": { "isInherited": true }, "sources": [ { "fileName": "packages/tgkit/src/structures/Base.ts", "line": 4, "character": 1 } ], "type": { "type": "reference", "target": 1, "name": "Client", "package": "tgkit", "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", "target": -1, "name": "Base.client" } }, { "id": 1952, "name": "duration", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Duration of the video in seconds as defined by sender" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 23, "character": 1 } ], "type": { "type": "intrinsic", "name": "number" } }, { "id": 1949, "name": "fileId", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Identifier for this file, which can be used to download or reuse the file" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 11, "character": 1 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 1954, "name": "fileSize", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, "comment": { "summary": [ { "kind": "text", "text": "File size in bytes" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 29, "character": 1 } ], "type": { "type": "intrinsic", "name": "number" } }, { "id": 1950, "name": "fileUniqueId", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Unique identifier for this file, which is supposed to be the same over time and for different bots.\nCan't be used to download or reuse the file." } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 17, "character": 1 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 1951, "name": "length", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Video width and height (diameter of the video message) as defined by sender" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 20, "character": 1 } ], "type": { "type": "intrinsic", "name": "number" } }, { "id": 1953, "name": "thumbnail", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, "comment": { "summary": [ { "kind": "text", "text": "Document thumbnail as defined by sender" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 26, "character": 1 } ], "type": { "type": "reference", "target": 1726, "name": "PhotoSize", "package": "tgkit", "qualifiedName": "default" } } ], "groups": [ { "title": "Constructors", "children": [ 1945 ] }, { "title": "Properties", "children": [ 1955, 1952, 1949, 1954, 1950, 1951, 1953 ] } ], "sources": [ { "fileName": "packages/tgkit/src/structures/VideoNote.ts", "line": 9, "character": 21 } ], "extendedTypes": [ { "type": "reference", "target": { "sourceFileName": "packages/tgkit/src/structures/Base.ts", "qualifiedName": "default" }, "name": "default", "package": "tgkit" } ] }