class TelegramBot::AffiliateInfo

Included Modules

Defined in:

telegram_bot/types/star_payment.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def affiliate_chat : Chat | Nil #

def affiliate_chat=(affiliate_chat : Chat | Nil) #

def affiliate_user : User | Nil #

def affiliate_user=(affiliate_user : User | Nil) #

def amount : Int64 #

def amount=(amount : Int64) #

def commission_per_mille : Int32 #

def commission_per_mille=(commission_per_mille : Int32) #

def nanostar_amount : Int32 | Nil #

def nanostar_amount=(nanostar_amount : Int32 | Nil) #