|
Telebot 9.4
Library for Telegram bot API
|
This object contains basic information about a successful payment. More...
#include <telebot-types.h>
Public Attributes | |
| char * | currency |
| int | total_amount |
| char * | invoice_payload |
| char * | shipping_option_id |
| struct telebot_order_info * | order_info |
| char * | telegram_payment_charge_id |
| char * | provider_payment_charge_id |
This object contains basic information about a successful payment.
| char* telebot_successful_payment::currency |
Three-letter ISO 4217 currency code
| char* telebot_successful_payment::invoice_payload |
Bot specified invoice payload
| struct telebot_order_info* telebot_successful_payment::order_info |
Optional. Order info provided by the user
| char* telebot_successful_payment::provider_payment_charge_id |
Provider payment identifier
| char* telebot_successful_payment::shipping_option_id |
Optional. Identifier of the shipping option chosen by the user
| char* telebot_successful_payment::telegram_payment_charge_id |
Telegram payment identifier
| int telebot_successful_payment::total_amount |
Total amount in the smallest units of the currency (integer, not float/double).