interface OwnedGiftRegular

Describes a regular gift owned by a user or a chat.

Properties

type: "regular"

Type of the gift, always “regular”

Information about the regular gift

optional
owned_gift_id: string

Unique identifier of the gift for the bot; for gifts received on behalf of business accounts only

Sender of the gift if it is a known user

send_date: number

Date the gift was sent in Unix time

optional
unique_gift_number: number

Unique number reserved for this gift when upgraded. See the number field in UniqueGift

optional
text: string

Text of the message that was added to the gift

Special entities that appear in the text

optional
is_private: true

True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them

optional
is_saved: true

True, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only

optional
can_be_upgraded: true

True, if the gift can be upgraded to a unique gift; for gifts received on behalf of business accounts only

optional
is_upgrade_separate: true

True, if the gift's upgrade was purchased after the gift was sent

optional
was_refunded: true

True, if the gift was refunded and isn't available anymore

optional
convert_star_count: number

Number of Telegram Stars that can be claimed by the receiver instead of the gift; omitted if the gift cannot be converted to Telegram Stars

Number of Telegram Stars that were paid by the sender for the ability to upgrade the gift