Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>InputMediaPhoto_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputMediaPhoto_
extends _InputMedia_
import { InputMediaPhoto_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Forwarded photo

Constructors

new
InputMediaPhoto_(params: { spoiler?: true; id: enums.InputPhoto; ttl_seconds?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
id: enums.InputPhoto

Photo to be forwarded

optional
spoiler: true

Whether this media should be hidden behind a spoiler warning

optional
ttl_seconds: number

Time to live in seconds of self-destructing photo

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc