GramIO API Reference / gramio/dist / TelegramPreCheckoutQuery
Interface: TelegramPreCheckoutQuery
Defined in: @gramio/types/out/objects.d.ts:10655
This object contains information about an incoming pre-checkout query.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
currency | TelegramCurrencies | Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars | @gramio/types/out/objects.d.ts:10667 |
from | TelegramUser | User who sent the query | @gramio/types/out/objects.d.ts:10663 |
id | string | Unique query identifier | @gramio/types/out/objects.d.ts:10659 |
invoice_payload | string | Bot-specified invoice payload | @gramio/types/out/objects.d.ts:10675 |
order_info? | TelegramOrderInfo | Optional. Order information provided by the user | @gramio/types/out/objects.d.ts:10683 |
shipping_option_id? | string | Optional. Identifier of the shipping option chosen by the user | @gramio/types/out/objects.d.ts:10679 |
total_amount | number | 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). | @gramio/types/out/objects.d.ts:10671 |