StarGiftAuctionState

class pyrogram.types.StarGiftAuctionState

The full state of an ongoing star gift auction.

Parameters:
  • version (int) – State version for polling.

  • start_date (datetime) – Auction start time.

  • end_date (datetime) – Scheduled end time.

  • min_bid_amount (int) – Minimum bid in Stars.

  • bid_levels (List of AuctionBidLevel) – Current top bids.

  • top_bidders (List of int) – Peer IDs of top bidders.

  • next_round_at (int) – Timestamp of next round start.

  • last_gift_num (int) – Last gift number issued.

  • gifts_left (int) – Remaining gifts.

  • current_round (int) – Current round number.

  • total_rounds (int) – Total rounds planned.

  • rounds (List of StarGiftAuctionRound) – Round definitions.

  • is_finished (bool) – True if auction finished.