GramIO API Reference / gramio/dist / TelegramPreCheckoutQuery
Interface: TelegramPreCheckoutQuery
Defined in: @gramio/types/out/objects.d.ts:7952
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:7964 |
from | TelegramUser | User who sent the query | @gramio/types/out/objects.d.ts:7960 |
id | string | Unique query identifier | @gramio/types/out/objects.d.ts:7956 |
invoice_payload | string | Bot-specified invoice payload | @gramio/types/out/objects.d.ts:7972 |
order_info? | TelegramOrderInfo | Optional. Order information provided by the user | @gramio/types/out/objects.d.ts:7980 |
shipping_option_id? | string | Optional. Identifier of the shipping option chosen by the user | @gramio/types/out/objects.d.ts:7976 |
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:7968 |