TelegramBot::Gift
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
background
Sourcebackground=(background : GiftBackground | Nil)
Sourcehas_colors?
Sourceid
Sourcepersonal_remaining_count
Sourcepersonal_total_count
Sourcepublisher_chat
Sourcepublisher_chat=(publisher_chat : Chat | Nil)
Sourceremaining_count
Sourcestar_count
Sourcesticker
Sourcesticker=(sticker : Sticker)
Sourcetotal_count
Sourceunique_gift_variant_count
Sourceupgrade_star_count
Source