Module tdlight.api

Class TdApi.AnswerWebAppQuery

Enclosing class:
TdApi

public static final class TdApi.AnswerWebAppQuery extends TdApi.Function<TdApi.SentWebAppMessage>
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. Returns SentWebAppMessage
  • Field Details

  • Constructor Details

    • AnswerWebAppQuery

      public AnswerWebAppQuery()
      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. Returns SentWebAppMessage
    • AnswerWebAppQuery

      public AnswerWebAppQuery(String webAppQueryId, TdApi.InputInlineQueryResult result)
      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. Returns SentWebAppMessage
      Parameters:
      webAppQueryId - String Identifier of the web app query.
      result - InputInlineQueryResult The result of the query.
    • AnswerWebAppQuery

      public AnswerWebAppQuery(DataInput input) throws IOException
      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. Returns SentWebAppMessage
      Throws:
      IOException
  • Method Details