Class PreCheckoutQuery
java.lang.Object
io.github.natanimn.telebof.types.updates.PreCheckoutQuery
- All Implemented Interfaces:
TelegramUpdate
This class contains information about an incoming pre-checkout query.
- Since:
- 3 March 2025
- Author:
- Natanim
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThree-letter ISO 4217 currency code, or "XTR" for payments in Telegram Starsprivate UserUser who sent the queryprivate StringUnique query identifierprivate StringBot-specified invoice payloadprivate OrderInfoOrder information provided by the userprivate StringIdentifier of the shipping option chosen by the userprivate IntegerTotal price in the smallest units of the currency (integer, not float/double). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Unique query identifier -
from
User who sent the query -
currency
Three-letter ISO 4217 currency code, or "XTR" for payments in Telegram Stars -
totalAmount
Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). -
invoicePayload
Bot-specified invoice payload -
shippingOptionId
Identifier of the shipping option chosen by the user -
orderInfo
Order information provided by the user
-
-
Constructor Details
-
PreCheckoutQuery
public PreCheckoutQuery()
-
-
Method Details