Skip to main content
Module

x/mtkruto/mod.ts>Video

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Video
Re-export
import { type Video } from "https://deno.land/x/mtkruto@0.1.123/mod.ts";

This object represents a video file.

Properties

fileId: string

A file identifier that can be used to download or reuse this file.

fileUniqueId: string

A file identifier that can be used to identify this file.

width: number

Video width as defined by sender

height: number

Video height as defined by sender

duration: number

Duration of the video in seconds as defined by sender

thumbnails: Thumbnail[]

Video thumbnail

optional
fileName: string

Original filename as defined by sender

mimeType: string

MIME type of the file.

fileSize: number

Size of the file in bytes.