GramIO API Reference / gramio/dist / TelegramOwnedGiftUnique
Interface: TelegramOwnedGiftUnique
Defined in: @gramio/types/out/objects.d.ts:4996
Describes a unique gift received and owned by a user or a chat.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
can_be_transferred? | true | Optional. True, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only | @gramio/types/out/objects.d.ts:5024 |
gift | TelegramUniqueGift | Information about the unique gift | @gramio/types/out/objects.d.ts:5004 |
is_saved? | true | Optional. True, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only | @gramio/types/out/objects.d.ts:5020 |
next_transfer_date? | number | Optional. Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now | @gramio/types/out/objects.d.ts:5032 |
owned_gift_id? | string | Optional. Unique identifier of the received gift for the bot; for gifts received on behalf of business accounts only | @gramio/types/out/objects.d.ts:5008 |
send_date | number | Date the gift was sent in Unix time | @gramio/types/out/objects.d.ts:5016 |
sender_user? | TelegramUser | Optional. Sender of the gift if it is a known user | @gramio/types/out/objects.d.ts:5012 |
transfer_star_count? | number | Optional. Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift | @gramio/types/out/objects.d.ts:5028 |
type | "unique" | Type of the gift, always “unique” | @gramio/types/out/objects.d.ts:5000 |