Layer 220
method Users Bots
messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true invert_media:flags.16?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Bool;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
NoWebpage flags.1?true Disable webpage preview
InvertMedia flags.16?true If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
Id InputBotInlineMessageID Sent inline message ID
Message flags.11?string Message
Media flags.14?InputMedia Media
ReplyMarkup flags.2?ReplyMarkup Reply markup for inline keyboards
Entities Vector<MessageEntity> Message entities for styled text

Returns

Bool

Possible Errors

Code Type Description
400 BUTTON_DATA_INVALID The data of one or more of the buttons you provided is invalid.
400 ENTITY_BOUNDS_INVALID A specified entity offset or length is invalid, see here for info on how to properly compute the entity offset/length.
400 MESSAGE_ID_INVALID The provided message id is invalid.
400 MESSAGE_NOT_MODIFIED The provided message data is identical to the previous message data, the message wasn't modified.

Gogram Example

// MessagesEditInlineBotMessage - using Params struct
result, err := client.MessagesEditInlineBotMessage(&tg.MessagesEditInlineBotMessageParams{
    Id: &tg.InputBotInlineMessageId{},

    // Optional fields:
    // NoWebpage: true,
    // InvertMedia: true,
    // Message: "...",
    // Media: &tg.InputMediaPhoto{ID: &tg.InputPhoto{ID: int64(0), AccessHash: int64(0), FileReference: []byte{}}},
    // ...
})
if err != nil {
    // handle error
}
// result is *tg.Bool