StarGiftAuctionState

class pyrogram.types.StarGiftAuctionState

Represents the state of a star gift auction.

Parameters:
  • type (str) – State type: “active”, “finished”, or “not_modified”.

  • version (int, optional) – State version number.

  • start_date (datetime, optional) – Auction start date.

  • end_date (datetime, optional) – Auction end date.

  • min_bid_amount (int, optional) – Minimum bid amount required.

  • bid_levels (List of AuctionBidLevel, optional) – Current bid levels in the auction.

  • top_bidders (List of int, optional) – User IDs of top bidders.

  • next_round_at (datetime, optional) – Date of the next round.

  • last_gift_num (int, optional) – Number of the last gift.

  • gifts_left (int, optional) – Number of gifts remaining.

  • current_round (int, optional) – Current round number.

  • total_rounds (int, optional) – Total number of rounds.

  • rounds (List of StarGiftAuctionRound, optional) – Information about auction rounds.

  • average_price (int, optional) – Average price (for finished auctions).

  • listed_count (int, optional) – Number of gifts listed (for finished auctions).

  • fragment_listed_count (int, optional) – Number of gifts listed on Fragment (for finished auctions).

  • fragment_listed_url (str, optional) – URL for Fragment listing (for finished auctions).