|
Telebot 9.4
Library for Telegram bot API
|
Contains information about the affiliate that received a commission. More...
#include <telebot-types.h>
Public Attributes | |
| struct telebot_user * | affiliate_user |
| struct telebot_chat * | affiliate_chat |
| int | commission_per_mille |
| int | amount |
| int | nanostar_amount |
Contains information about the affiliate that received a commission.
| struct telebot_chat* telebot_affiliate_info::affiliate_chat |
Optional. The chat that received an affiliate commission
| struct telebot_user* telebot_affiliate_info::affiliate_user |
Optional. The bot or the user that received an affiliate commission
| int telebot_affiliate_info::amount |
Integer amount of Telegram Stars received by the affiliate
| int telebot_affiliate_info::commission_per_mille |
The number of Telegram Stars received by the affiliate for each 1000 Stars
| int telebot_affiliate_info::nanostar_amount |
Optional. The number of 1/1000000000 shares of Telegram Stars