answerWebAppQuery

Use this method to 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. On success, a SentWebAppMessage object is returned.

Api reference

Parameters

webAppQueryId

Unique identifier for the query to be answered

result

A JSON-serialized object describing the message to be sent