Struct wdg_telegram_types::SuccessfulPayment
[−]
[src]
pub struct SuccessfulPayment { pub _currency: String, pub _total_amount: i32, pub _invoice_payload: String, pub _shipping_option_id: Option<String>, pub _order_info: Option<OrderInfo>, pub _telegram_payment_charge_id: String, pub _provider_payment_charge_id: String, }
This object contains basic information about a successful payment.
Fields
_currency: String
Three-letter ISO 4217 currency code
_total_amount: i32
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).
_invoice_payload: String
Bot specified invoice payload
_shipping_option_id: Option<String>
Optional. Identifier of the shipping option chosen by the user
_order_info: Option<OrderInfo>
Optional. Order info provided by the user
_telegram_payment_charge_id: String
Telegram payment identifier
_provider_payment_charge_id: String
Provider payment identifier