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

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

Specifies options that must be used to generate the link preview for the message, or even a standalone link preview without an attached message.

Constructors

new
BotInlineMessageMediaWebPage_(params: { invert_media?: true; force_large_media?: true; force_small_media?: true; manual?: true; safe?: true; message: string; entities?: Array<enums.MessageEntity>; url: string; reply_markup?: enums.ReplyMarkup; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
entities: Array<enums.MessageEntity>
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
invert_media: true

If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

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.

message: string

The message, can be empty.

optional
reply_markup: enums.ReplyMarkup

Reply markup for sending bot buttons

optional
safe: true

If set, the link can be opened directly without user confirmation.

url: string

The URL to use for the link preview.

Static Properties

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