struct

Telegram::UniqueGiftInfo

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: UniqueGiftInfo Describes a service message about a unique gift that was sent or received.

Constructors

new(gift : UniqueGift, origin : String, last_resale_star_count : Int64 | Nil = nil, owned_gift_id : String | Nil = nil, transfer_star_count : Int64 | Nil = nil, next_transfer_date : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(gift _gift = @gift, origin _origin = @origin, last_resale_star_count _last_resale_star_count = @last_resale_star_count, owned_gift_id _owned_gift_id = @owned_gift_id, transfer_star_count _transfer_star_count = @transfer_star_count, next_transfer_date _next_transfer_date = @next_transfer_date)
Source
gift
last_resale_star_count
next_transfer_date
origin
owned_gift_id
transfer_star_count