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

x/mtkruto/3_types.ts>InputMediaPhoto

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

Properties

photo: FileSource

The photo.

optional
width: number

The width of the photo in pixels.

optional
height: number

The height of the photo in pixels.

optional
hasSpoiler: boolean

Whether to mark the media as a spoiler.

optional
selfDestruct: SelfDestructOption