inputBotInlineMessageMediaWebPage #

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

Layer 223

inputBotInlineMessageMediaWebPage#bddcc510 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true optional:flags.6?true message:string entities:flags.1?Vector<MessageEntity> url:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

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.
optionalflags.6?trueIf not set, a WEBPAGE_NOT_FOUND RPC error will be emitted if a webpage preview cannot be generated for the specified url; otherwise, no error will be emitted (unless the provided message is also empty, in which case a MESSAGE_EMPTY will be emitted, instead).
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?ReplyMarkupInline keyboard

Type #

InputBotInlineMessage

Styled text with message entities #

How to create styled text with message entities