Layer 220
constructor
botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true 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
NoWebpage flags.0?true Disable webpage preview
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 The message
Entities Vector<MessageEntity> Message entities for styled text
ReplyMarkup flags.2?ReplyMarkup Inline keyboard

Gogram Example

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

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