Layer 224
constructor
inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

Parameters

Name Type Description
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 Message
Entities Vector<MessageEntity> Message entities for styled text
ReplyMarkup flags.2?ReplyMarkup Inline keyboard

Gogram Example

// Creating InputBotInlineMessageText constructor
obj := &tg.InputBotInlineMessageText{
    Message: "Hello, World!",

    // Optional fields:
    // NoWebpage: true,
    // InvertMedia: true,
    // Entities: []tg.MessageEntity{&tg.MessageEntityBold{Offset: 0, Length: 11}},
    // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{{Buttons: []tg.KeyboardButton{&tg.KeyboardButton{Text: "Click Me"}}}}},
}