GramIO API Reference / gramio/dist / TelegramUniqueGiftModel
Interface: TelegramUniqueGiftModel
Defined in: @gramio/types/out/objects.d.ts:4648
This object describes the model of a unique gift.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
name | string | Name of the model | @gramio/types/out/objects.d.ts:4652 |
rarity? | TelegramUniqueGiftModelRarity | Optional. Rarity of the model if it is a crafted model. Currently, can be “uncommon”, “rare”, “epic”, or “legendary”. | @gramio/types/out/objects.d.ts:4664 |
rarity_per_mille | number | The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts. | @gramio/types/out/objects.d.ts:4660 |
sticker | TelegramSticker | The sticker that represents the unique gift | @gramio/types/out/objects.d.ts:4656 |