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

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

Photo

Constructors

new
InputMediaUploadedPhoto_(params: { spoiler?: true; file: enums.InputFile; stickers?: Array<enums.InputDocument>; ttl_seconds?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
file: enums.InputFile
optional
spoiler: true

Whether this media should be hidden behind a spoiler warning

optional
stickers: Array<enums.InputDocument>

Attached mask stickers

optional
ttl_seconds: number

Time to live in seconds of self-destructing photo

Static Properties

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