Skip to content

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.

Documentation

Properties

PropertyTypeDescriptionDefined in
backdropTelegramUniqueGiftBackdropBackdrop of the gift@gramio/types/out/objects.d.ts:4796
base_namestringHuman-readable name of the regular gift from which this unique gift was upgraded@gramio/types/out/objects.d.ts:4776
colors?TelegramUniqueGiftColorsOptional. 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_idstringIdentifier of the regular gift from which the gift was upgraded@gramio/types/out/objects.d.ts:4772
is_burned?trueOptional. 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?trueOptional. 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?trueOptional. True, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers@gramio/types/out/objects.d.ts:4800
modelTelegramUniqueGiftModelModel of the gift@gramio/types/out/objects.d.ts:4788
namestringUnique 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
numbernumberUnique number of the upgraded gift among gifts upgraded from the same regular gift@gramio/types/out/objects.d.ts:4784
publisher_chat?TelegramChatOptional. Information about the chat that published the gift@gramio/types/out/objects.d.ts:4816
symbolTelegramUniqueGiftSymbolSymbol of the gift@gramio/types/out/objects.d.ts:4792