Skip to main content

starGiftAuctionAcquiredGift

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

type tg.StarGiftAuctionAcquiredGift struct { /* ... */ }

Fields

NameTypeRequiredDescription
NameHiddenboolIf 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).
PeerPeerClassyesThe peer that received the gift.
DateintyesWhen was the gift obtained.
BidAmountint64yesThe amount in Telegram Stars that was bid in order to obtain the gift.
RoundintyesThe round number where the gift was obtained.
PosintyesThe position of the gift in the auction.
MessageTextWithEntitiesOptional message that attached with the gift, passed when making the bid.
GiftNumintIf set, the collectible number of the won gift among all collectibles of the same type.

References