Class TdApi.AnswerGuestQuery

Enclosing class:
TdApi

public static class TdApi.AnswerGuestQuery extends TdApi.Function<TdApi.InlineMessageId>
Sets the result of a guest query; for bots only.

Returns InlineMessageId

  • Field Details

    • guestQueryId

      public long guestQueryId
      Identifier of the guest query.
    • result

      The result of the query.
    • CONSTRUCTOR

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

    • AnswerGuestQuery

      public AnswerGuestQuery()
      Default constructor for a function, which sets the result of a guest query; for bots only.

      Returns InlineMessageId

    • AnswerGuestQuery

      public AnswerGuestQuery(long guestQueryId, TdApi.InputInlineQueryResult result)
      Creates a function, which sets the result of a guest query; for bots only.

      Returns InlineMessageId

      Parameters:
      guestQueryId - Identifier of the guest query.
      result - The result of the query.
  • Method Details