Class TdApi.AnswerShippingQuery
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.AnswerShippingQuery
- Enclosing class:
- TdApi
Sets the result of a shipping query; for bots only.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.An error message, empty on success.Available shipping options.long
Identifier of the shipping query. -
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-