telegram api constructor · layer 229 · #809ad9a6

botInlineMessageMediaWebPage

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

definition

botInlineMessageMediaWebPage#809ad9a6 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true manual:flags.7?true safe:flags.8?true message:string entities:flags.1?Vector<MessageEntity> url:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

parameters

nametypedescription
flags#Flags, see TL conditional fields
invert_mediaflags.3?trueIf set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
force_large_mediaflags.4?trueIf set, specifies that a large media preview should be used.
force_small_mediaflags.5?trueIf set, specifies that a small media preview should be used.
manualflags.7?trueIf 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.
safeflags.8?trueIf set, the link can be opened directly without user confirmation.
messagestringThe message, can be empty.
entitiesflags.1?Vector<MessageEntity>Message entities for styled text
urlstringThe URL to use for the link preview.
reply_markupflags.2?ReplyMarkupReply markup for sending bot buttons

type

BotInlineMessage · other constructors: botInlineMessageMediaAuto, botInlineMessageText, botInlineMessageMediaGeo, botInlineMessageMediaVenue, botInlineMessageMediaContact, botInlineMessageMediaInvoice, botInlineMessageRichMessage

history

present in layers 166–229

idlayers
#809ad9a6166–229