tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::auctionStateActive Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::auctionStateActive:
td::td_api::AuctionState td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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< int53top_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< userAuctionBiduser_bid_
 Bid of the current user in the auction; may be null if none.
 

Static Public Attributes

static const std::int32_t ID = 1169774099
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains information about an ongoing or scheduled auction.

Definition at line 1779 of file td_api.h.

Constructor & Destructor Documentation

◆ auctionStateActive() [1/2]

td::td_api::auctionStateActive::auctionStateActive ( )

Contains information about an ongoing or scheduled auction.

◆ auctionStateActive() [2/2]

td::td_api::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_ 
)

Contains information about an ongoing or scheduled auction.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::auctionStateActive::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ acquired_item_count_

int32 td::td_api::auctionStateActive::acquired_item_count_

The number of items that were purchased by the current user on the auction.

Definition at line 1812 of file td_api.h.

◆ bid_levels_

array<object_ptr<auctionBid> > td::td_api::auctionStateActive::bid_levels_

A sparse list of bids that were made in the auction.

Definition at line 1796 of file td_api.h.

◆ current_round_end_date_

int32 td::td_api::auctionStateActive::current_round_end_date_

Point in time (Unix timestamp) when the current round will end.

Definition at line 1802 of file td_api.h.

◆ current_round_number_

int32 td::td_api::auctionStateActive::current_round_number_

1-based number of the current round.

Definition at line 1804 of file td_api.h.

◆ distributed_item_count_

int32 td::td_api::auctionStateActive::distributed_item_count_

The number of items that were purchased on the auction by all users.

Definition at line 1808 of file td_api.h.

◆ end_date_

int32 td::td_api::auctionStateActive::end_date_

Point in time (Unix timestamp) when the auction will be ended.

Definition at line 1792 of file td_api.h.

◆ ID

const std::int32_t td::td_api::auctionStateActive::ID = 1169774099
static

Identifier uniquely determining a type of the object.

Definition at line 1841 of file td_api.h.

◆ left_item_count_

int32 td::td_api::auctionStateActive::left_item_count_

The number of items that have to be distributed on the auction.

Definition at line 1810 of file td_api.h.

◆ min_bid_

int53 td::td_api::auctionStateActive::min_bid_

The minimum possible bid in the auction in Telegram Stars.

Definition at line 1794 of file td_api.h.

◆ rounds_

array<object_ptr<auctionRound> > td::td_api::auctionStateActive::rounds_

Rounds of the auction in which their duration or extension rules are changed.

Definition at line 1800 of file td_api.h.

◆ start_date_

int32 td::td_api::auctionStateActive::start_date_

Point in time (Unix timestamp) when the auction started or will start.

Definition at line 1790 of file td_api.h.

◆ top_bidder_user_ids_

array<int53> td::td_api::auctionStateActive::top_bidder_user_ids_

User identifiers of at most 3 users with the biggest bids.

Definition at line 1798 of file td_api.h.

◆ total_round_count_

int32 td::td_api::auctionStateActive::total_round_count_

The total number of rounds.

Definition at line 1806 of file td_api.h.

◆ user_bid_

object_ptr<userAuctionBid> td::td_api::auctionStateActive::user_bid_

Bid of the current user in the auction; may be null if none.

Definition at line 1814 of file td_api.h.


The documentation for this class was generated from the following file: