struct

Telegram::UniqueGiftModel

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: UniqueGiftModel This object describes the model of a unique gift.

Constructors

new(name : String, sticker : Sticker, rarity_per_mille : Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(name _name = @name, sticker _sticker = @sticker, rarity_per_mille _rarity_per_mille = @rarity_per_mille)
Source
name
rarity_per_mille
sticker