Describes the affiliate program that issued the affiliate commission received via this transaction.
More...
#include <Types.h>
|
| 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::uint32_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.
|
Describes the affiliate program that issued the affiliate commission received via this transaction.
Definition at line 13756 of file Types.h.
◆ Ptr
◆ commissionPerMille
| std::uint32_t TgBot::TransactionPartnerAffiliateProgram::commissionPerMille { } |
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users.
Definition at line 13773 of file Types.h.
◆ sponsorUser
| std::shared_ptr<User> TgBot::TransactionPartnerAffiliateProgram::sponsorUser { } |
Optional. Information about the bot that sponsored the affiliate program.
Definition at line 13768 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::TransactionPartnerAffiliateProgram::TYPE |
|
static |
◆ type
| std::string TgBot::TransactionPartnerAffiliateProgram::type { TYPE } |
Type of the transaction partner, always “affiliate_program”
Definition at line 13764 of file Types.h.
The documentation for this struct was generated from the following file: