Package org.drinkless.tdlib
Class TdApi.AnswerShippingQuery
- Enclosing class:
- TdApi
Sets the result of a shipping query; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.An error message, empty on success.Available shipping options.longIdentifier of the shipping query. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
shippingQueryId
public long shippingQueryIdIdentifier of the shipping query. -
shippingOptions
Available shipping options. -
errorMessage
An error message, empty on success. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-