starGiftAuctionAcquiredGift #

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

Layer 223

starGiftAuctionAcquiredGift#42b00348 flags:# name_hidden:flags.0?true peer:Peer date:int bid_amount:long round:int pos:int message:flags.1?TextWithEntities gift_num:flags.2?int = StarGiftAuctionAcquiredGift;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
name_hiddenflags.0?trueIf 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).
peerPeerThe peer that received the gift.
dateintWhen was the gift obtained.
bid_amountlongThe amount in Telegram Stars that was bid in order to obtain the gift.
roundintThe round number where the gift was obtained.
posintThe position of the gift in the auction.
messageflags.1?TextWithEntitiesOptional message that attached with the gift, passed when making the bid.
gift_numflags.2?intIf set, the collectible number of the won gift among all collectibles of the same type.
This field is optional because only auction collectibles won before this field was introduced in the API will not have this flag set.

Type #

StarGiftAuctionAcquiredGift

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.