Class AnswerShippingQuery
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<AnswerShippingQuery, Boolean>
io.github.natanimn.telebof.requests.answer.AnswerShippingQuery
AnswerShippingQuery class. Returns True on success.
- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionerrorMessage(String error_message) OptionalshippingOptions(ShippingOption[] shipping_options) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
AnswerShippingQuery
 
- 
- 
Method Details- 
shippingOptionsOptional- Parameters:
- shipping_options- Required if ok is True.
 A JSON-serialized array of available shipping options.
- Returns:
- AnswerShippingQuery
 
- 
errorMessageOptional- Parameters:
- error_message- Required if ok is False.
 Error message in human-readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
- Returns:
- AnswerShippingQuery
 
 
-