GramIO API Reference / @gramio/contexts/dist / UniqueGiftBackdrop
Class: UniqueGiftBackdrop
Defined in: contexts/index.d.ts:5050
This object describes the colors of the backdrop of a unique gift.
Constructors
Constructor
new UniqueGiftBackdrop(
payload):UniqueGiftBackdrop
Defined in: contexts/index.d.ts:5052
Parameters
| Parameter | Type |
|---|---|
payload | TelegramUniqueGiftBackdrop |
Returns
UniqueGiftBackdrop
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramUniqueGiftBackdrop | contexts/index.d.ts:5051 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:5054
Returns
string
colors
Get Signature
get colors():
UniqueGiftBackdropColors
Defined in: contexts/index.d.ts:5062
Colors of the backdrop
Returns
name
Get Signature
get name():
string
Defined in: contexts/index.d.ts:5058
Name of the backdrop
Returns
string
rarityPerMille
Get Signature
get rarityPerMille():
number
Defined in: contexts/index.d.ts:5066
The number of unique gifts that receive this model for every 1000 gifts upgraded
Returns
number