Class PreCheckoutQueryType.

see
package Default

 Properties

 

Three-letter ISO 4217 currency code.

$currency : string

Default

 

User who sent the query.

$from : \TgBotApi\BotApiBase\Type\UserType

Default

 

Unique query identifier.

$id : string

Default

 

Bot specified invoice payload.

$invoicePayload : string

Default

 

Optional. Order info provided by the user.

$orderInfo : \TgBotApi\BotApiBase\Type\OrderInfoType | null

Default

 

Optional. Identifier of the shipping option chosen by the user.

$shippingOptionId : string | null

Default

 

Total price in the smallest units of the currency (integer, not float/double).

$totalAmount : integer

Default

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).

see
see