Skip to content

GiftAuctionAcquiredGift

Type · TDLib 1.8.67 · d1085f9c

Represents a gift that was acquired by the current user on an auction

GiftAuctionAcquiredGift(
  receiver_id: MessageSender,
  date: int32,
  star_count: int53,
  auction_round_number: int32,
  auction_round_position: int32,
  unique_gift_number: int32,
  text: FormattedText,
  is_private: Bool
) → GiftAuctionAcquiredGift

receiver_id

MessageSender

Receiver of the gift

date

int32

Point in time (Unix timestamp) when the gift was acquired

star_count

int53

The number of Telegram Stars that were paid for the gift

auction_round_number

int32

Identifier of the auction round in which the gift was acquired

auction_round_position

int32

Position of the user in the round among all auction participants

unique_gift_number

int32

Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned

text

FormattedText

Message added to the gift

is_private

Bool

True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them