Tourmaline::TransactionPartnerAffiliateProgram
Inherits JSON::Serializable < Reference < Object
Describes the affiliate program that issued the affiliate commission received via this transaction.
Constructors
new(type : String, commission_per_mille : Int32 | Int64, sponsor_user : Tourmaline::User | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
commission_per_mille
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