public static class TdApi.AnswerShippingQuery extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
errorMessage
An error message, empty on success.
|
TdApi.ShippingOption[] |
shippingOptions
Available shipping options.
|
long |
shippingQueryId
Identifier of the shipping query.
|
Constructor and Description |
---|
AnswerShippingQuery()
Default constructor for a function, which sets the result of a shipping query; for bots only.
|
AnswerShippingQuery(long shippingQueryId,
TdApi.ShippingOption[] shippingOptions,
java.lang.String errorMessage)
Creates a function, which sets the result of a shipping query; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long shippingQueryId
public TdApi.ShippingOption[] shippingOptions
public java.lang.String errorMessage
public static final int CONSTRUCTOR
public AnswerShippingQuery()
Returns Ok
public AnswerShippingQuery(long shippingQueryId, TdApi.ShippingOption[] shippingOptions, java.lang.String errorMessage)
Returns Ok
shippingQueryId
- Identifier of the shipping query.shippingOptions
- Available shipping options.errorMessage
- An error message, empty on success.public int getConstructor()
getConstructor
in class TdApi.Function