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
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThree-letter ISO 4217 currency code, or “XTR” for payments in Telegram StarsUser who sent the queryUnique query identifierBot-specified invoice payloadOrder information provided by the userIdentifier of the shipping option chosen by the userTotal price in the smallest units of the currency (integer, not float/double).
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
idUnique query identifier
- 
fromUser who sent the query
- 
currency
- 
total_amountTotal 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).
- 
invoice_payloadBot-specified invoice payload
- 
shipping_option_idIdentifier of the shipping option chosen by the user
- 
order_infoOrder information provided by the user
 
- 
- 
Constructor Details- 
PreCheckoutQuerypublic PreCheckoutQuery()
 
- 
- 
Method Details- 
equals
- 
hashCode
- 
toString
 
-