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

x/mtkruto/3_types.ts>Animation

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

This object represents 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.