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

x/mtkruto/types/1_input_media.ts>InputMediaAnimation

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface InputMediaAnimation
implements _InputMediaCommon
import { type InputMediaAnimation } from "https://deno.land/x/mtkruto@0.2.50/types/1_input_media.ts";

Properties

animation: FileSource

The animation.

optional
thumbnail: FileSource

A thumbnail to assign. Cannot be a URL.

optional
duration: number

The duration of the animation in seconds.

optional
width: number

The width of the animation file.

optional
height: number

The height of the animation file.

optional
hasSpoiler: boolean

Whether to mark the media as a spoiler.