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

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

Preview of webpage

Constructors

new
MessageMediaWebPage_(params: { force_large_media?: true; force_small_media?: true; manual?: true; safe?: true; webpage: enums.WebPage; })

Properties

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

If set, specifies that a large media preview should be used.

optional
force_small_media: true

If set, specifies that a small media preview should be used.

optional
manual: true

If set, indicates that the URL used for the webpage preview was specified manually using inputMediaWebPage, and may not be related to any of the URLs specified in the message.

optional
safe: true

If set, the webpage can be opened directly without user confirmation; otherwise, user confirmation is required, showing the exact URL that will be opened.

webpage: enums.WebPage

Webpage preview

Static Properties

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