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

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

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

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

Static Public Attributes

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

Detailed Description

Contains information about a finished auction.

Definition at line 1854 of file td_api.h.

Constructor & Destructor Documentation

◆ auctionStateFinished() [1/2]

td::td_api::auctionStateFinished::auctionStateFinished ( )

Contains information about a finished auction.

◆ auctionStateFinished() [2/2]

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

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 td::td_api::auctionStateFinished::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::auctionStateFinished::acquired_item_count_

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

Definition at line 1871 of file td_api.h.

◆ average_price_

int53 td::td_api::auctionStateFinished::average_price_

Average price of bought items in Telegram Stars.

Definition at line 1869 of file td_api.h.

◆ end_date_

int32 td::td_api::auctionStateFinished::end_date_

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

Definition at line 1867 of file td_api.h.

◆ fragment_listed_item_count_

int32 td::td_api::auctionStateFinished::fragment_listed_item_count_

Number of items from the auction being resold on Fragment.

Definition at line 1875 of file td_api.h.

◆ fragment_url_

string td::td_api::auctionStateFinished::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.

Definition at line 1877 of file td_api.h.

◆ ID

const std::int32_t td::td_api::auctionStateFinished::ID = -451306439
static

Identifier uniquely determining a type of the object.

Definition at line 1898 of file td_api.h.

◆ start_date_

int32 td::td_api::auctionStateFinished::start_date_

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

Definition at line 1865 of file td_api.h.

◆ telegram_listed_item_count_

int32 td::td_api::auctionStateFinished::telegram_listed_item_count_

Number of items from the auction being resold on Telegram.

Definition at line 1873 of file td_api.h.


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