PreCheckoutQuery¶
- class pyrogram.types.PreCheckoutQuery¶
An incoming pre-checkout query from a buy button in an inline keyboard.
- Parameters:¶
id (
str
) – Unique identifier for this query.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.payload (
str
) – Bot specified invoice payload.shipping_option_id (
str
, optional) – Identifier of the shipping option chosen by the user.payment_info (
PaymentInfo
, optional) – Payment information provided by the user.