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

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

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

Properties

video: FileSource

The video.

optional
thumbnail: FileSource

A thumbnail to assign. Cannot be a URL.

optional
duration: number

The duration of the video in seconds.

optional
width: number

The width of the photo in pixels.

optional
height: number

The height of the photo in pixels.

optional
supportsStreaming: boolean

Whether the video is suitable for streaming.

optional
hasSpoiler: boolean

Whether to mark the media as a spoiler.

optional
selfDestruct: SelfDestructOption