answer_web_app_query()#

Client.answer_web_app_query()#

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.

Usable by Users Bots
Parameters:
  • web_app_query_id (str) – Unique identifier for the answered query.

  • result (InlineQueryResult) – A list of results for the inline query.

Returns:

SentWebAppMessage – On success the sent web app message is returned.