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

Contains information about the affiliate that received a commission. More...

#include <telebot-types.h>

Public Attributes

struct telebot_useraffiliate_user
 
struct telebot_chataffiliate_chat
 
int commission_per_mille
 
int amount
 
int nanostar_amount
 

Detailed Description

Contains information about the affiliate that received a commission.

Member Data Documentation

◆ affiliate_chat

struct telebot_chat* telebot_affiliate_info::affiliate_chat

Optional. The chat that received an affiliate commission

◆ affiliate_user

struct telebot_user* telebot_affiliate_info::affiliate_user

Optional. The bot or the user that received an affiliate commission

◆ amount

int telebot_affiliate_info::amount

Integer amount of Telegram Stars received by the affiliate

◆ commission_per_mille

int telebot_affiliate_info::commission_per_mille

The number of Telegram Stars received by the affiliate for each 1000 Stars

◆ nanostar_amount

int telebot_affiliate_info::nanostar_amount

Optional. The number of 1/1000000000 shares of Telegram Stars


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