Skip to content

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.

Documentation

Properties

PropertyTypeDescriptionDefined in
can_be_transferred?trueOptional. 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
giftTelegramUniqueGiftInformation about the unique gift@gramio/types/out/objects.d.ts:5004
is_saved?trueOptional. 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?numberOptional. 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?stringOptional. 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_datenumberDate the gift was sent in Unix time@gramio/types/out/objects.d.ts:5016
sender_user?TelegramUserOptional. Sender of the gift if it is a known user@gramio/types/out/objects.d.ts:5012
transfer_star_count?numberOptional. 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