class TelegramBot::AcceptedGiftTypes

Included Modules

Defined in:

telegram_bot/types/gift.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(unlimited_gifts : Bool, limited_gifts : Bool, unique_gifts : Bool, premium_subscription : Bool, gifts_from_channels : Bool) #

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

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

Instance Method Detail

def gifts_from_channels=(gifts_from_channels : Bool) #

def gifts_from_channels? : Bool #

def limited_gifts=(limited_gifts : Bool) #

def limited_gifts? : Bool #

def premium_subscription=(premium_subscription : Bool) #

def premium_subscription? : Bool #

def unique_gifts=(unique_gifts : Bool) #

def unique_gifts? : Bool #

def unlimited_gifts=(unlimited_gifts : Bool) #

def unlimited_gifts? : Bool #