Interface GiftAuctionAcquiredGift

Represents a gift that was acquired by the current user on an auction.

interface GiftAuctionAcquiredGift {
    @type: "giftAuctionAcquiredGift";
    auction_round_number: number;
    auction_round_position: number;
    date: number;
    is_private?: boolean;
    receiver_id: MessageSender;
    star_count: number;
    text: FormattedText;
    unique_gift_number: number;
}

Properties

@type: "giftAuctionAcquiredGift"
auction_round_number: number

Identifier of the auction round in which the gift was acquired.

auction_round_position: number

Position of the user in the round among all auction participants.

date: number

Point in time (Unix timestamp) when the gift was acquired.

is_private?: boolean

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

receiver_id: MessageSender

Receiver of the gift.

star_count: number

The number of Telegram Stars that were paid for the gift.

Message added to the gift.

unique_gift_number: number

Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned.