GramIO API Reference / gramio/dist / TelegramUniqueGift
Interface: TelegramUniqueGift
Defined in: @gramio/types/out/objects.d.ts:4928
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:4956 |
base_name | string | Human-readable name of the regular gift from which this unique gift was upgraded | @gramio/types/out/objects.d.ts:4936 |
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:4972 |
gift_id | string | Identifier of the regular gift from which the gift was upgraded | @gramio/types/out/objects.d.ts:4932 |
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:4964 |
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:4968 |
is_premium? | true | Optional. True, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers | @gramio/types/out/objects.d.ts:4960 |
model | TelegramUniqueGiftModel | Model of the gift | @gramio/types/out/objects.d.ts:4948 |
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:4940 |
number | number | Unique number of the upgraded gift among gifts upgraded from the same regular gift | @gramio/types/out/objects.d.ts:4944 |
publisher_chat? | TelegramChat | Optional. Information about the chat that published the gift | @gramio/types/out/objects.d.ts:4976 |
symbol | TelegramUniqueGiftSymbol | Symbol of the gift | @gramio/types/out/objects.d.ts:4952 |