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

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

Document that will be downloaded by the telegram servers

Constructors

new
InputMediaDocumentExternal_(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 document

url: string

URL of the document

Static Properties

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