Package org.drinkless.tdlib
Class TdApi.AnswerShippingQuery
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.AnswerShippingQuery
-
- Enclosing class:
- TdApi
public static class TdApi.AnswerShippingQuery extends TdApi.Function
Sets the result of a shipping query; for bots only.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringerrorMessageAn error message, empty on success.TdApi.ShippingOption[]shippingOptionsAvailable shipping options.longshippingQueryIdIdentifier of the shipping query.
-
Constructor Summary
Constructors Constructor Description AnswerShippingQuery()Default constructor for a function, which sets the result of a shipping query; for bots only.AnswerShippingQuery(long shippingQueryId, TdApi.ShippingOption[] shippingOptions, String errorMessage)Creates a function, which sets the result of a shipping query; for bots only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnswerShippingQuery
public AnswerShippingQuery()
Default constructor for a function, which sets the result of a shipping query; for bots only.Returns
Ok
-
AnswerShippingQuery
public AnswerShippingQuery(long shippingQueryId, TdApi.ShippingOption[] shippingOptions, String errorMessage)Creates a function, which sets the result of a shipping query; for bots only.Returns
Ok- Parameters:
shippingQueryId- Identifier of the shipping query.shippingOptions- Available shipping options.errorMessage- An error message, empty on success.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-