Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_successful_payment Struct Reference

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_infoorder_info
 
char * telegram_payment_charge_id
 
char * provider_payment_charge_id
 

Detailed Description

This object contains basic information about a successful payment.

Member Data Documentation

◆ currency

char* telebot_successful_payment::currency

Three-letter ISO 4217 currency code

◆ invoice_payload

char* telebot_successful_payment::invoice_payload

Bot specified invoice payload

◆ order_info

struct telebot_order_info* telebot_successful_payment::order_info

Optional. Order info provided by the user

◆ provider_payment_charge_id

char* telebot_successful_payment::provider_payment_charge_id

Provider payment identifier

◆ shipping_option_id

char* telebot_successful_payment::shipping_option_id

Optional. Identifier of the shipping option chosen by the user

◆ telegram_payment_charge_id

char* telebot_successful_payment::telegram_payment_charge_id

Telegram payment identifier

◆ total_amount

int telebot_successful_payment::total_amount

Total amount in the smallest units of the currency (integer, not float/double).


The documentation for this struct was generated from the following file: