struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

backdrop
base_name
clone
Source
copy_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)
Source
model
name
number
publisher_chat
symbol