class TelegramBot::UniqueGift

Included Modules

Defined in:

telegram_bot/types/gift.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 backdrop : UniqueGiftBackdrop #

def backdrop=(backdrop : UniqueGiftBackdrop) #

def base_name : String #

def base_name=(base_name : String) #

def colors : UniqueGiftColors | Nil #

def colors=(colors : UniqueGiftColors | Nil) #

def gift_id : String #

def gift_id=(gift_id : String) #

def is_burned=(is_burned : Bool | Nil) #

def is_burned? : Bool | Nil #

def is_from_blockchain=(is_from_blockchain : Bool | Nil) #

def is_from_blockchain? : Bool | Nil #

def is_premium=(is_premium : Bool | Nil) #

def is_premium? : Bool | Nil #

def model : UniqueGiftModel #

def model=(model : UniqueGiftModel) #

def name : String #

def name=(name : String) #

def number : Int32 #

def number=(number : Int32) #

def publisher_chat : Chat | Nil #

def publisher_chat=(publisher_chat : Chat | Nil) #

def symbol : UniqueGiftSymbol #

def symbol=(symbol : UniqueGiftSymbol) #