Describes a gift that the current user won in an auction.
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;
| 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 |
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.