This object contains information about an incoming pre-checkout query.


Name Type Description
id str Unique query identifier
from_user User User who sent the query
currency str Three-letter ISO 4217 currency code
total_amount int 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).
invoice_payload str Bot specified invoice payload
shipping_option_id Optional[str] Optional. Identifier of the shipping option chosen by the user
order_info Optional[OrderInfo] Optional. Order info provided by the user


  • from aiogram.types import PreCheckoutQuery
  • from aiogram.api.types import PreCheckoutQuery
  • from aiogram.api.types.pre_checkout_query import PreCheckoutQuery


Aliases is always returns related API method (Awaitable) and can be used directly or as answer's into webhook.


This method has the same specification with the API but without pre_checkout_query_id argument.

Answer method Alias for Description
answer Bot.answer_pre_checkout_query Answer to pre checkout query