telegramx.js

OwnedGiftUnique

interface

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

Declaration

interface OwnedGiftUnique 

Properties

can_be_transferred?: boolean;

Optional. True, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only

giftproperty#
gift: UniqueGift;

Information about the unique gift

is_savedproperty#
is_saved?: boolean;

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

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.

owned_gift_id?: string;

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

send_dateproperty#
send_date: number;

Date the gift was sent in Unix time

sender_userproperty#
sender_user?: User;

Optional. Sender of the gift if it is a known user

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

typeproperty#
type: 'unique';

Type of the gift, always "unique"