This object contains basic information about a refunded payment.
More...
#include <Types.h>
|
| std::string | currency { } |
| | Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR”.
|
| std::uint64_t | totalAmount { } |
| | Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_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).
|
| std::string | invoicePayload { } |
| | Bot-specified invoice payload.
|
| std::string | telegramPaymentChargeId { } |
| | Telegram payment identifier.
|
| std::optional< std::string > | providerPaymentChargeId { } |
| | Optional. Provider payment identifier.
|
This object contains basic information about a refunded payment.
Definition at line 10801 of file Types.h.
◆ Ptr
◆ currency
| std::string TgBot::RefundedPayment::currency { } |
Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR”.
Definition at line 10808 of file Types.h.
◆ invoicePayload
| std::string TgBot::RefundedPayment::invoicePayload { } |
Bot-specified invoice payload.
Definition at line 10819 of file Types.h.
◆ providerPaymentChargeId
| std::optional<std::string> TgBot::RefundedPayment::providerPaymentChargeId { } |
Optional. Provider payment identifier.
Definition at line 10827 of file Types.h.
◆ telegramPaymentChargeId
| std::string TgBot::RefundedPayment::telegramPaymentChargeId { } |
Telegram payment identifier.
Definition at line 10823 of file Types.h.
◆ totalAmount
| std::uint64_t TgBot::RefundedPayment::totalAmount { } |
Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_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).
Definition at line 10815 of file Types.h.
The documentation for this struct was generated from the following file: