TDLib
Loading...
Searching...
No Matches
auctionStateFinished Class Referencefinal

Inherits AuctionState.

Description

Contains information about a finished auction.

Public Member Functions

 auctionStateFinished ()
 auctionStateFinished (int32 start_date_, int32 end_date_, int53 average_price_, int32 acquired_item_count_, int32 telegram_listed_item_count_, int32 fragment_listed_item_count_, string const &fragment_url_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int32 acquired_item_count_
 The number of items that were purchased by the current user on the auction.
int53 average_price_
 Average price of bought items in Telegram Stars.
int32 end_date_
 Point in time (Unix timestamp) when the auction will be ended.
int32 fragment_listed_item_count_
 Number of items from the auction being resold on Fragment.
string fragment_url_
 The HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment.
int32 start_date_
 Point in time (Unix timestamp) when the auction started.
int32 telegram_listed_item_count_
 Number of items from the auction being resold on Telegram.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ auctionStateFinished() [1/2]

auctionStateFinished ( )

Contains information about a finished auction.

◆ auctionStateFinished() [2/2]

auctionStateFinished ( int32 start_date_,
int32 end_date_,
int53 average_price_,
int32 acquired_item_count_,
int32 telegram_listed_item_count_,
int32 fragment_listed_item_count_,
string const & fragment_url_ )

Contains information about a finished auction.

Parameters
[in]start_date_Point in time (Unix timestamp) when the auction started.
[in]end_date_Point in time (Unix timestamp) when the auction will be ended.
[in]average_price_Average price of bought items in Telegram Stars.
[in]acquired_item_count_The number of items that were purchased by the current user on the auction.
[in]telegram_listed_item_count_Number of items from the auction being resold on Telegram.
[in]fragment_listed_item_count_Number of items from the auction being resold on Fragment.
[in]fragment_url_The HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment.

Member Function Documentation

◆ store()

void 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 TlObject.


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