struct

Telegram::TransactionPartnerAffiliateProgram

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: TransactionPartnerAffiliateProgram Describes the affiliate program that issued the affiliate commission received via this transaction.

Constructors

new(type : String, commission_per_mille : Int64, sponsor_user : User | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
commission_per_mille
copy_with(type _type = @type, commission_per_mille _commission_per_mille = @commission_per_mille, sponsor_user _sponsor_user = @sponsor_user)
Source
type