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::int32_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 11345 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 11352 of file Types.h.
◆ invoicePayload
| std::string TgBot::RefundedPayment::invoicePayload { } |
Bot-specified invoice payload.
Definition at line 11365 of file Types.h.
◆ providerPaymentChargeId
| std::optional<std::string> TgBot::RefundedPayment::providerPaymentChargeId { } |
Optional. Provider payment identifier.
Definition at line 11375 of file Types.h.
◆ telegramPaymentChargeId
| std::string TgBot::RefundedPayment::telegramPaymentChargeId { } |
Telegram payment identifier.
Definition at line 11370 of file Types.h.
◆ totalAmount
| std::int32_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 11360 of file Types.h.
The documentation for this struct was generated from the following file: