class TelegramBot::Gift

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 background : GiftBackground | Nil #

def background=(background : GiftBackground | Nil) #

def has_colors=(has_colors : Bool | Nil) #

def has_colors? : Bool | Nil #

def id : String #

def id=(id : String) #

def is_premium=(is_premium : Bool | Nil) #

def is_premium? : Bool | Nil #

def personal_remaining_count : Int32 | Nil #

def personal_remaining_count=(personal_remaining_count : Int32 | Nil) #

def personal_total_count : Int32 | Nil #

def personal_total_count=(personal_total_count : Int32 | Nil) #

def publisher_chat : Chat | Nil #

def publisher_chat=(publisher_chat : Chat | Nil) #

def remaining_count : Int32 | Nil #

def remaining_count=(remaining_count : Int32 | Nil) #

def star_count : Int32 #

def star_count=(star_count : Int32) #

def sticker : Sticker #

def sticker=(sticker : Sticker) #

def total_count : Int32 | Nil #

def total_count=(total_count : Int32 | Nil) #

def unique_gift_variant_count : Int32 | Nil #

def unique_gift_variant_count=(unique_gift_variant_count : Int32 | Nil) #

def upgrade_star_count : Int32 | Nil #

def upgrade_star_count=(upgrade_star_count : Int32 | Nil) #