1#ifndef TGBOT_PRECHECKOUTQUERY_H
2#define TGBOT_PRECHECKOUTQUERY_H
23 typedef std::shared_ptr<PreCheckoutQuery>
Ptr;
std::shared_ptr< OrderInfo > Ptr
This object contains information about an incoming pre-checkout query.
std::int32_t totalAmount
Total price in the smallest units of the currency (integer, not float/double).
OrderInfo::Ptr orderInfo
Optional. Order info provided by the user.
User::Ptr from
User who sent the query.
std::string shippingOptionId
Optional. Identifier of the shipping option chosen by the user.
std::shared_ptr< PreCheckoutQuery > Ptr
std::string invoicePayload
Bot specified invoice payload.
std::string currency
Three-letter ISO 4217 currency code.
std::string id
Unique query identifier.
std::shared_ptr< User > Ptr