Video
Describes a video file.
This is an alias for the VideoUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "video" | |
duration | number | Duration of the video, in seconds; as defined by the sender |
width | number | Video width; as defined by the sender |
height | number | Video height; as defined by the sender |
fileName | string | Original name of the file; as defined by the sender |
mimeType | string | MIME type of the file; as defined by the sender |
hasStickers | boolean | True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets |
supportsStreaming | boolean | True, if the video is supposed to be streamed |
minithumbnail | Video minithumbnail; may be null | |
thumbnail | Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null | |
video | File containing the video |