List of all members | Public Fields | Public Instance Methods | Static Public Attributes
auctionStateFinished Class Referencefinal

Inherits AuctionState.

Description

Contains information about a finished auction.

Public Fields

int32 start_date_
 Point in time (Unix timestamp) when the auction started.
 
int32 end_date_
 Point in time (Unix timestamp) when the auction will be ended.
 
int53 average_price_
 Average price of bought items in Telegram Stars.
 
int32 acquired_item_count_
 The number of items that were purchased by the current user on the auction.
 
int32 telegram_listed_item_count_
 Number of items from the auction being resold on Telegram.
 
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.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ auctionStateFinished() [1/2]

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.

Method 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: