Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>Video

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Video
Re-export
import { type Video } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

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.