Inherits AuctionState.
Contains information about an ongoing or scheduled auction.
Public Fields | |
| int32 | start_date_ |
| Point in time (Unix timestamp) when the auction started or will start. | |
| int32 | end_date_ |
| Point in time (Unix timestamp) when the auction will be ended. | |
| int53 | min_bid_ |
| The minimum possible bid in the auction in Telegram Stars. | |
| array< object_ptr< auctionBid > > | bid_levels_ |
| A sparse list of bids that were made in the auction. | |
| array< int53 > | top_bidder_user_ids_ |
| User identifiers of at most 3 users with the biggest bids. | |
| array< object_ptr< auctionRound > > | rounds_ |
| Rounds of the auction in which their duration or extension rules are changed. | |
| int32 | current_round_end_date_ |
| Point in time (Unix timestamp) when the current round will end. | |
| int32 | current_round_number_ |
| 1-based number of the current round. | |
| int32 | total_round_count_ |
| The total number of rounds. | |
| int32 | distributed_item_count_ |
| The number of items that were purchased on the auction by all users. | |
| int32 | left_item_count_ |
| The number of items that have to be distributed on the auction. | |
| int32 | acquired_item_count_ |
| The number of items that were purchased by the current user on the auction. | |
| object_ptr< userAuctionBid > | user_bid_ |
| Bid of the current user in the auction; may be null if none. | |
Public Instance Methods | |
| auctionStateActive () | |
| auctionStateActive (int32 start_date_, int32 end_date_, int53 min_bid_, array< object_ptr< auctionBid >> &&bid_levels_, array< int53 > &&top_bidder_user_ids_, array< object_ptr< auctionRound >> &&rounds_, int32 current_round_end_date_, int32 current_round_number_, int32 total_round_count_, int32 distributed_item_count_, int32 left_item_count_, int32 acquired_item_count_, object_ptr< userAuctionBid > &&user_bid_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 1169774099 |
| Identifier uniquely determining a type of the object. | |
Contains information about an ongoing or scheduled auction.
| auctionStateActive | ( | int32 | start_date_, |
| int32 | end_date_, | ||
| int53 | min_bid_, | ||
| array< object_ptr< auctionBid >> && | bid_levels_, | ||
| array< int53 > && | top_bidder_user_ids_, | ||
| array< object_ptr< auctionRound >> && | rounds_, | ||
| int32 | current_round_end_date_, | ||
| int32 | current_round_number_, | ||
| int32 | total_round_count_, | ||
| int32 | distributed_item_count_, | ||
| int32 | left_item_count_, | ||
| int32 | acquired_item_count_, | ||
| object_ptr< userAuctionBid > && | user_bid_ | ||
| ) |
Contains information about an ongoing or scheduled auction.
| [in] | start_date_ | Point in time (Unix timestamp) when the auction started or will start. |
| [in] | end_date_ | Point in time (Unix timestamp) when the auction will be ended. |
| [in] | min_bid_ | The minimum possible bid in the auction in Telegram Stars. |
| [in] | bid_levels_ | A sparse list of bids that were made in the auction. |
| [in] | top_bidder_user_ids_ | User identifiers of at most 3 users with the biggest bids. |
| [in] | rounds_ | Rounds of the auction in which their duration or extension rules are changed. |
| [in] | current_round_end_date_ | Point in time (Unix timestamp) when the current round will end. |
| [in] | current_round_number_ | 1-based number of the current round. |
| [in] | total_round_count_ | The total number of rounds. |
| [in] | distributed_item_count_ | The number of items that were purchased on the auction by all users. |
| [in] | left_item_count_ | The number of items that have to be distributed on the auction. |
| [in] | acquired_item_count_ | The number of items that were purchased by the current user on the auction. |
| [in] | user_bid_ | Bid of the current user in the auction; may be null if none. |
|
finalvirtual |