Skip to content

OwnedGiftUnique

Describes a unique gift received and owned by a user or a chat.

Fields

typeString = uniqueRequired
Type of the gift, always "unique"
giftUniqueGiftRequired
Information about the unique gift
owned_gift_idStringOptional
Optional. Unique identifier of the received gift for the bot; for gifts received on behalf of business accounts only
sender_userUserOptional
Optional. Sender of the gift if it is a known user
send_dateIntegerRequired
Date the gift was sent in Unix time
is_savedTrueOptional
Optional. True, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only
can_be_transferredTrueOptional
Optional. True, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only
transfer_star_countIntegerOptional
Optional. Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift
next_transfer_dateIntegerOptional
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 Usage

See Also