Class AnswerPreCheckoutQuery
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<AnswerPreCheckoutQuery, Boolean>
io.github.natanimn.telebof.requests.answer.AnswerPreCheckoutQuery
AnswerPreCheckoutQuery class. Returns True on success.
- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionAnswerPreCheckoutQuery(String pre_checkout_query_id, boolean ok, Api api) Required
- 
Method SummaryMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
AnswerPreCheckoutQuery
 
- 
- 
Method Details- 
errorMessageOptional- Parameters:
- error_message- Required if ok is False.
 Error message in human-readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user.
- Returns:
- AnswerPreCheckoutQuery
 
 
-