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>MessageMediaPhoto_

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

Attached photo.

Constructors

new
MessageMediaPhoto_(params?: { spoiler?: true; photo?: enums.Photo; ttl_seconds?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
photo: enums.Photo

Photo

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