Layer 220
method Users
messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;

Parameters

Name Type Description
Bot InputUser The bot that owns the mini app that emitted the web_app_send_prepared_message event
Id string The id from the web_app_send_prepared_message event

Possible Errors

Code Type Description
400 ID_EXPIRED The passed prepared inline message ID has expired.
400 ID_INVALID The passed ID is invalid.

Gogram Example

// MessagesGetPreparedInlineMessage - positional arguments
result, err := client.MessagesGetPreparedInlineMessage(&tg.InputUserSelf{}, "...")
if err != nil {
    // handle error
}
// result is *tg.MessagesPreparedInlineMessage