StarGiftAuctionAcquiredGift#

class pyrogram.raw.types.StarGiftAuctionAcquiredGift#

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

Constructor of StarGiftAuctionAcquiredGift.

Details:
  • Layer: 225

  • ID: 42B00348

Parameters:
  • peer (Peer) – The peer that received the gift.

  • date (int 32-bit) – When was the gift obtained.

  • bid_amount (int 64-bit) – The amount in Telegram Stars that was bid in order to obtain the gift.

  • round (int 32-bit) – The round number where the gift was obtained.

  • pos (int 32-bit) – The position of the gift in the auction.

  • name_hidden (bool, optional) – 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).

  • message (TextWithEntities, optional) – Optional message that attached with the gift, passed when making the bid.

  • gift_num (int 32-bit, optional) – If set, the collectible number of the won gift among all collectibles of the same type.