|
Telebot 9.4
Library for Telegram bot API
|
This object describes the source of a transaction. More...
#include <telebot-types.h>
Public Attributes | |
| char * | type |
| char * | transaction_type |
| struct telebot_user * | user |
| struct telebot_chat * | chat |
| struct telebot_affiliate_info * | affiliate |
| char * | invoice_payload |
| int | subscription_period |
| struct telebot_paid_media * | paid_media |
| int | count_paid_media |
| char * | paid_media_payload |
| struct telebot_gift * | gift |
| int | premium_subscription_duration |
| struct telebot_revenue_withdrawal_state * | withdrawal_state |
| struct telebot_user * | sponsor_user |
| int | commission_per_mille |
| int | request_count |
This object describes the source of a transaction.
| struct telebot_affiliate_info* telebot_transaction_partner::affiliate |
Optional. Information about the affiliate
| struct telebot_chat* telebot_transaction_partner::chat |
Optional. Information about the chat
| int telebot_transaction_partner::commission_per_mille |
Optional. The number of Telegram Stars received by the bot for each 1000 Stars
| struct telebot_gift* telebot_transaction_partner::gift |
Optional. The gift sent to the user by the bot
| char* telebot_transaction_partner::invoice_payload |
Optional. Bot-specified invoice payload
| struct telebot_paid_media* telebot_transaction_partner::paid_media |
Optional. Information about the paid media bought by the user
| char* telebot_transaction_partner::paid_media_payload |
Optional. Bot-specified paid media payload
| int telebot_transaction_partner::premium_subscription_duration |
Optional. Number of months the gifted Telegram Premium subscription will be active for
| int telebot_transaction_partner::request_count |
Optional. The number of successful requests that exceeded regular limits
| struct telebot_user* telebot_transaction_partner::sponsor_user |
Optional. Information about the bot that sponsored the affiliate program
| int telebot_transaction_partner::subscription_period |
Optional. The duration of the paid subscription
| char* telebot_transaction_partner::transaction_type |
Optional. Type of the transaction
| char* telebot_transaction_partner::type |
Type of the transaction partner
| struct telebot_user* telebot_transaction_partner::user |
Optional. Information about the user
| struct telebot_revenue_withdrawal_state* telebot_transaction_partner::withdrawal_state |
Optional. State of the transaction if the transaction is outgoing