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 Summary
ConstructorsConstructorDescriptionAnswerPreCheckoutQuery
(String pre_checkout_query_id, boolean ok, Api api) Required -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
AnswerPreCheckoutQuery
-
-
Method Details
-
errorMessage
Optional- 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
-