answerWebAppQuery
Send a message to the originating chat after a user interacts with a Web App by setting the interaction result.
Instructions
Set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated. Returns a SentWebAppMessage object on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | A JSON-serialized InlineQueryResult object describing the message to be sent. | |
| web_app_query_id | Yes | Unique identifier for the query to be answered. |