Raw.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.
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;
export namespace Raw {
export class BotInlineMessageMediaWebPage {
constructor(params: {
invertMedia?: boolean;
forceLargeMedia?: boolean;
forceSmallMedia?: boolean;
manual?: boolean;
safe?: boolean;
message: string;
entities?: Array<Raw.TypeMessageEntity>;
url: string;
replyMarkup?: Raw.TypeReplyMarkup;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x809ad9a6
Property
invertMedia
: boolean or undefinedIf set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
forceLargeMedia
: boolean or undefinedIf set, specifies that a large media preview should be used.
forceSmallMedia
: boolean or undefinedIf set, specifies that a small media preview should be used.
manual
: boolean or undefinedIf 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.
safe
: boolean or undefinedIf set, the link can be opened directly without user confirmation.
message
: stringThe message, can be empty.
entities
: Array of Raw.TypeMessageEntity or undefinedMessage entities for styled text
url
: stringThe url to use for the link preview.
replyMarkup
: Raw.TypeReplyMarkup or undefinedReply markup for sending bot buttons