Class TdApi.AnswerWebAppQuery

Enclosing class:
TdApi

public static class TdApi.AnswerWebAppQuery extends TdApi.Function<TdApi.InlineMessageId>
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 InlineMessageId

  • Field Details

    • webAppQueryId

      public String webAppQueryId
      Identifier of the Web App query.
    • result

      The result of the query.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AnswerWebAppQuery

      public AnswerWebAppQuery()
      Default constructor for a function, which 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 InlineMessageId

    • AnswerWebAppQuery

      public AnswerWebAppQuery(String webAppQueryId, TdApi.InputInlineQueryResult result)
      Creates a function, which 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 InlineMessageId

      Parameters:
      webAppQueryId - Identifier of the Web App query.
      result - The result of the query.
  • Method Details