class Tourmaline::TransactionPartnerAffiliateProgram
- Tourmaline::TransactionPartnerAffiliateProgram
- Reference
- Object
Overview
Describes the affiliate program that issued the affiliate commission received via this transaction.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, commission_per_mille : Int32 | Int64, sponsor_user : Tourmaline::User | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#commission_per_mille : Int32 | Int64
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users
-
#commission_per_mille=(commission_per_mille : Int32 | Int64)
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users
-
#sponsor_user : Tourmaline::User | Nil
Optional.
-
#sponsor_user=(sponsor_user : Tourmaline::User | Nil)
Optional.
-
#type : String
Type of the transaction partner, always "affiliate_program"
-
#type=(type : String)
Type of the transaction partner, always "affiliate_program"
Constructor Detail
Instance Method Detail
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users
Optional. Information about the bot that sponsored the affiliate program
Optional. Information about the bot that sponsored the affiliate program