Class TdApi.AnswerShippingQuery

Enclosing class:
TdApi

public static class TdApi.AnswerShippingQuery extends TdApi.Function<TdApi.Ok>
Sets the result of a shipping query; for bots only.

Returns Ok

  • Field Details

    • shippingQueryId

      public long shippingQueryId
      Identifier of the shipping query.
    • shippingOptions

      public TdApi.ShippingOption[] shippingOptions
      Available shipping options.
    • errorMessage

      public String errorMessage
      An error message, empty on success.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AnswerShippingQuery

      public AnswerShippingQuery()
      Sets the result of a shipping query; for bots only.

      Returns Ok

    • AnswerShippingQuery

      public AnswerShippingQuery(long shippingQueryId, TdApi.ShippingOption[] shippingOptions, String errorMessage)
      Sets the result of a shipping query; for bots only.

      Returns Ok

      Parameters:
      shippingQueryId - long Identifier of the shipping query.
      shippingOptions - ShippingOption[] Available shipping options.
      errorMessage - String An error message, empty on success.
    • AnswerShippingQuery

      public AnswerShippingQuery(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details