Layer 220
StarGiftAuctionState
constructor
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;
Parameters
| Name | Type | Description |
|---|---|---|
| Version | int | |
| StartDate | int | |
| EndDate | int | |
| MinBidAmount | long | |
| BidLevels | Vector<AuctionBidLevel> | |
| TopBidders | Vector<long> | |
| NextRoundAt | int | |
| LastGiftNum | int | |
| GiftsLeft | int | |
| CurrentRound | int | |
| TotalRounds | int | |
| Rounds | Vector<StarGiftAuctionRound> |
Returns
StarGiftAuctionStateGogram Example
// Creating StarGiftAuctionState constructor obj := &tg.StarGiftAuctionState{ Version: 0, StartDate: 0, EndDate: 0, MinBidAmount: int64(0), BidLevels: []tg.AuctionBidLevel{&tg.AuctionBidLevel{}}, TopBidders: []long{}, // ... more required fields }