Telegram::UniqueGift
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: UniqueGift This object describes a unique gift that was upgraded from a regular gift.
Constructors
new(base_name : String, name : String, number : Int64, model : UniqueGiftModel, symbol : UniqueGiftSymbol, backdrop : UniqueGiftBackdrop, publisher_chat : Chat | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
backdrop
base_name
clone
Sourcecopy_with(base_name _base_name = @base_name, name _name = @name, number _number = @number, model _model = @model, symbol _symbol = @symbol, backdrop _backdrop = @backdrop, publisher_chat _publisher_chat = @publisher_chat)
Sourcemodel
name
number
publisher_chat
symbol