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