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

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

New photo that will be uploaded by the server using the specified URL

Constructors

new
InputMediaPhotoExternal_(params: { spoiler?: true; url: string; ttl_seconds?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
spoiler: true

Whether this media should be hidden behind a spoiler warning

optional
ttl_seconds: number

Self-destruct time to live of photo

url: string

URL of the photo

Static Properties

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