Save a prepared inline message, to be shared by the user of the mini app using a web_app_send_prepared_message event
Method schema is available as of layer 193. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
result | InputBotInlineResult | The message |
user_id | InputUser | The user to whom the web_app_send_prepared_message event event will be sent |
peer_types | flags.0?Vector<InlineQueryPeerType> | Types of chats where this message can be sent |
messages.BotPreparedInlineMessage
Code | Type | Description |
---|---|---|
400 | RESULT_ID_INVALID | One of the specified result IDs is invalid. |
400 | USER_BOT_REQUIRED | This method can only be called by a bot. |
400 | USER_ID_INVALID | The provided user ID is invalid. |
How telegram apps interact with webpages
Users can interact with your bot via inline queries, straight from the text input field in any chat.