Skip to main content
Module

x/mtkruto/mod.ts>InputMediaPhoto

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

Properties

photo: FileSource

The new photo.

optional
width: number

The width of the photo in pixels.

optional
height: number

The height of the photo in pixels.

optional
caption: string

The new caption of the message.

optional
hasSpoiler: boolean

Whether to mark the media as a spoiler.

optional
selfDestruct: SelfDestructOption