Skip to content

AuctionStateActive

Type · TDLib 1.8.67 · d1085f9c

Contains information about an ongoing or scheduled auction

AuctionStateActive(
  start_date: int32,
  end_date: int32,
  min_bid: int53,
  bid_levels: list of AuctionBid,
  top_bidder_user_ids: list of int53,
  rounds: list of AuctionRound,
  current_round_end_date: int32,
  current_round_number: int32,
  total_round_count: int32,
  distributed_item_count: int32,
  left_item_count: int32,
  acquired_item_count: int32,
  user_bid: UserAuctionBid
) → AuctionState

start_date

int32

Point in time (Unix timestamp) when the auction started or will start

end_date

int32

Point in time (Unix timestamp) when the auction will be ended

min_bid

int53

The minimum possible bid in the auction in Telegram Stars

bid_levels

list of AuctionBid

A sparse list of bids that were made in the auction

top_bidder_user_ids

list of int53

User identifiers of at most 3 users with the biggest bids

rounds

list of AuctionRound

Rounds of the auction in which their duration or extension rules are changed

current_round_end_date

int32

Point in time (Unix timestamp) when the current round will end

current_round_number

int32

1-based number of the current round

total_round_count

int32

The total number of rounds

distributed_item_count

int32

The number of items that were purchased on the auction by all users

left_item_count

int32

The number of items that have to be distributed on the auction

acquired_item_count

int32

The number of items that were purchased by the current user on the auction

user_bid

UserAuctionBid

Bid of the current user in the auction; may be null if none