struct

Telegram::UniqueGiftBackdrop

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: UniqueGiftBackdrop This object describes the backdrop of a unique gift.

Constructors

new(name : String, colors : UniqueGiftBackdropColors, rarity_per_mille : Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
colors
copy_with(name _name = @name, colors _colors = @colors, rarity_per_mille _rarity_per_mille = @rarity_per_mille)
Source
name
rarity_per_mille