Function answer_web_app_query

Source
pub async fn answer_web_app_query(
    web_app_query_id: String,
    result: InputInlineQueryResult,
    client_id: i32,
) -> Result<SentWebAppMessage, Error>
Expand description

Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only

ยงArguments

  • web_app_query_id - Identifier of the Web App query
  • result - The result of the query
  • client_id - The client id to send the request to