StarGiftAuctionState

class pyrogram.raw.types.StarGiftAuctionState

{schema}

Constructor of StarGiftAuctionState.

Details:
  • Layer: 227

  • ID: 771A4E66

Parameters:
  • version (int 32-bit)

  • start_date (int 32-bit)

  • end_date (int 32-bit)

  • min_bid_amount (int 64-bit)

  • bid_levels (List of AuctionBidLevel)

  • top_bidders (List of int 64-bit)

  • next_round_at (int 32-bit)

  • last_gift_num (int 32-bit)

  • gifts_left (int 32-bit)

  • current_round (int 32-bit)

  • total_rounds (int 32-bit)

  • rounds (List of StarGiftAuctionRound)

TL Schema

starGiftAuctionState#771a4e66
version:int
start_date:int
end_date:int
min_bid_amount:long
bid_levels:Vector<AuctionBidLevel>
top_bidders:Vector<long>
next_round_at:int
last_gift_num:int
gifts_left:int
current_round:int
total_rounds:int
rounds:Vector<StarGiftAuctionRound>

= StarGiftAuctionState

Parameter Tree

StarGiftAuctionState
├── version → int
├── start_date → int
├── end_date → int
├── min_bid_amount → long
├── bid_levels → Vector < AuctionBidLevel >
│ └── AuctionBidLevel
│ ├── pos → int
│ ├── amount → long
│ └── date → int
├── top_bidders → Vector < long >
├── next_round_at → int
├── last_gift_num → int
├── gifts_left → int
├── current_round → int
├── total_rounds → int
└── rounds → Vector < StarGiftAuctionRound >
│ ├── num → int
│ └── duration → int
├── num → int
├── duration → int
├── extend_top → int
└── extend_window → int

Example

StarGiftAuctionState(
    version=0,
    start_date=0,
    end_date=0,
    min_bid_amount=0,
    bid_levels=[
            AuctionBidLevel(
                pos=0,
                amount=0,
                date=0
            )
        ],
    top_bidders=[0],
    next_round_at=0,
    last_gift_num=0,
    gifts_left=0,
    current_round=0,
    total_rounds=0,
    rounds=[
            StarGiftAuctionRound(
                num=0,
                duration=0
            )
        ],
)