Layer 220
constructor
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

Name Type Description
Flags # Flags, see TL conditional fields
InvertMedia flags.3?true If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
ForceLargeMedia flags.4?true If set, specifies that a large media preview should be used.
ForceSmallMedia flags.5?true If set, specifies that a small media preview should be used.
Manual flags.7?true If set, indicates that the URL used for the webpage preview was specified manually using input Media Web Page, and may not be related to any of the URLs specified in the message.
Safe flags.8?true If set, the link can be opened directly without user confirmation.
Message string The message, can be empty.
Entities Vector<MessageEntity> Message entities for styled text
Url string The URL to use for the link preview.
ReplyMarkup flags.2?ReplyMarkup Reply markup for sending bot buttons

Gogram Example

// Creating BotInlineMessageMediaWebPage constructor
obj := &tg.BotInlineMessageMediaWebPage{
    Message: "...",
    Url: "...",

    // Optional fields:
    // InvertMedia: true,
    // ForceLargeMedia: true,
    // ForceSmallMedia: true,
    // Manual: true,
    // ... more optional fields
}