|
tgbot-cpp
|
Describes the affiliate program that issued the affiliate commission received via this transaction. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<TransactionPartnerAffiliateProgram> |
Public Attributes | |
| std::string | type { TYPE } |
| Type of the transaction partner, always “affiliate_program” | |
| std::shared_ptr< User > | sponsorUser { } |
| Optional. Information about the bot that sponsored the affiliate program. | |
| std::int32_t | commissionPerMille { } |
| The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users. | |
Static Public Attributes | |
| static TGBOT_API const std::string | TYPE |
Describes the affiliate program that issued the affiliate commission received via this transaction.
| using TgBot::TransactionPartnerAffiliateProgram::Ptr = std::shared_ptr<TransactionPartnerAffiliateProgram> |
| std::int32_t TgBot::TransactionPartnerAffiliateProgram::commissionPerMille { } |
| std::shared_ptr<User> TgBot::TransactionPartnerAffiliateProgram::sponsorUser { } |
|
static |
| std::string TgBot::TransactionPartnerAffiliateProgram::type { TYPE } |