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::auctionRound Class Referencefinal

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

Inheritance diagram for td::td_api::auctionRound:
td::td_api::Object td::TlObject

Public Member Functions

 auctionRound ()
 
 auctionRound (int32 number_, int32 duration_, int32 extend_time_, int32 top_winner_count_)
 
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 number_
 1-based number of the round.
 
int32 duration_
 Duration of the round, in seconds.
 
int32 extend_time_
 The number of seconds for which the round will be extended if there are changes in the top winners.
 
int32 top_winner_count_
 The number of top winners who trigger round extension if changed.
 

Static Public Attributes

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

Detailed Description

Describes a round of an auction.

Definition at line 1717 of file td_api.h.

Constructor & Destructor Documentation

◆ auctionRound() [1/2]

td::td_api::auctionRound::auctionRound ( )

Describes a round of an auction.

◆ auctionRound() [2/2]

td::td_api::auctionRound::auctionRound ( int32  number_,
int32  duration_,
int32  extend_time_,
int32  top_winner_count_ 
)

Describes a round of an auction.

Parameters
[in]number_1-based number of the round.
[in]duration_Duration of the round, in seconds.
[in]extend_time_The number of seconds for which the round will be extended if there are changes in the top winners.
[in]top_winner_count_The number of top winners who trigger round extension if changed.

Member Function Documentation

◆ store()

void td::td_api::auctionRound::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

◆ duration_

int32 td::td_api::auctionRound::duration_

Duration of the round, in seconds.

Definition at line 1730 of file td_api.h.

◆ extend_time_

int32 td::td_api::auctionRound::extend_time_

The number of seconds for which the round will be extended if there are changes in the top winners.

Definition at line 1732 of file td_api.h.

◆ ID

const std::int32_t td::td_api::auctionRound::ID = -986948877
static

Identifier uniquely determining a type of the object.

Definition at line 1752 of file td_api.h.

◆ number_

int32 td::td_api::auctionRound::number_

1-based number of the round.

Definition at line 1728 of file td_api.h.

◆ top_winner_count_

int32 td::td_api::auctionRound::top_winner_count_

The number of top winners who trigger round extension if changed.

Definition at line 1734 of file td_api.h.


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