GramIO API Reference / gramio/dist / TelegramUniqueGift
Interface: TelegramUniqueGift
Defined in: @gramio/types/out/objects.d.ts:4768
This object describes a unique gift that was upgraded from a regular gift.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
backdrop | TelegramUniqueGiftBackdrop | Backdrop of the gift | @gramio/types/out/objects.d.ts:4796 |
base_name | string | Human-readable name of the regular gift from which this unique gift was upgraded | @gramio/types/out/objects.d.ts:4776 |
colors? | TelegramUniqueGiftColors | Optional. The color scheme that can be used by the gift's owner for the chat's name, replies to messages and link previews; for business account gifts and gifts that are currently on sale only | @gramio/types/out/objects.d.ts:4812 |
gift_id | string | Identifier of the regular gift from which the gift was upgraded | @gramio/types/out/objects.d.ts:4772 |
is_burned? | true | Optional. True, if the gift was used to craft another gift and isn't available anymore | @gramio/types/out/objects.d.ts:4804 |
is_from_blockchain? | true | Optional. True, if the gift is assigned from the TON blockchain and can't be resold or transferred in Telegram | @gramio/types/out/objects.d.ts:4808 |
is_premium? | true | Optional. True, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers | @gramio/types/out/objects.d.ts:4800 |
model | TelegramUniqueGiftModel | Model of the gift | @gramio/types/out/objects.d.ts:4788 |
name | string | Unique name of the gift. This name can be used in https://t.me/nft/... links and story areas | @gramio/types/out/objects.d.ts:4780 |
number | number | Unique number of the upgraded gift among gifts upgraded from the same regular gift | @gramio/types/out/objects.d.ts:4784 |
publisher_chat? | TelegramChat | Optional. Information about the chat that published the gift | @gramio/types/out/objects.d.ts:4816 |
symbol | TelegramUniqueGiftSymbol | Symbol of the gift | @gramio/types/out/objects.d.ts:4792 |