messages.getPreparedInlineMessage

Obtain a prepared inline message generated by a mini app: invoked when handling web_app_send_prepared_message events

 Method schema is available as of layer 193. Switch »

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

Result

messages.PreparedInlineMessage

Possible errors

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

Related pages

Web events

How telegram apps interact with webpages

Inline

Users can interact with your bot via inline queries, straight from the text input field in any chat.

Mini Apps on Telegram

Bots can offer users interactive HTML5 web apps to completely replace any website.

Go up