starGiftAuctionAcquiredGift

Describes a gift that the current user won in an auction.

Constructor schema is available as of layer 220. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
name_hidden flags.0?true If set, your name will be hidden if the destination peer decides to display the gift on their profile (they will still see that you sent the gift).
peer Peer The peer that received the gift.
date int When was the gift obtained.
bid_amount long The amount in Telegram Stars that was bid in order to obtain the gift.
round int The round number where the gift was obtained.
pos int The position of the gift in the auction.
message flags.1?TextWithEntities Optional message that attached with the gift, passed when making the bid.
gift_num flags.2?int If set, the collectible number of the won gift among all collectibles of the same type.

Type

StarGiftAuctionAcquiredGift

Related pages

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.