class TelegramBot::TransactionPartnerUser

Included Modules

Defined in:

telegram_bot/types/star_payment.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::TransactionPartner

type : String type, type=(type : String) type=

Constructor methods inherited from class TelegramBot::TransactionPartner

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Constructor Detail

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

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

Instance Method Detail

def affiliate : AffiliateInfo | Nil #

def affiliate=(affiliate : AffiliateInfo | Nil) #

def gift : Gift | Nil #

def gift=(gift : Gift | Nil) #

def invoice_payload : String | Nil #

def invoice_payload=(invoice_payload : String | Nil) #

def premium_subscription_duration : Int32 | Nil #

def premium_subscription_duration=(premium_subscription_duration : Int32 | Nil) #

def subscription_period : Int32 | Nil #

def subscription_period=(subscription_period : Int32 | Nil) #

def transaction_type : String #

def transaction_type=(transaction_type : String) #

def type : String #

def type=(type : String) #

def user : User #

def user=(user : User) #