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

x/mtkruto/mod.ts>Animation

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

An animation file (GIF or H.264/MPEG-4 AVC video without sound).

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

The width of the animation.

height: number

The height of the animation.

duration: number

Duration of the animation in seconds.

thumbnails: Thumbnail[]

Thumbnails of the animation.

optional
fileName: string

The original file name.

mimeType: string

MIME type of the file.

fileSize: number

Size of the file in bytes.