Layer 220
constructor
botInlineMessageMediaAuto#764cf810 flags:# invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> 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.
Message string Caption
Entities Vector<MessageEntity> Message entities for styled text
ReplyMarkup flags.2?ReplyMarkup Inline keyboard

Gogram Example

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

    // Optional fields:
    // InvertMedia: true,
    // Entities: []tg.MessageEntity{&tg.MessageEntityBold{Offset: 0, Length: 4}},
    // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{}},
}