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

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

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

Public Member Functions

 giftAuction ()
 
 giftAuction (string const &id_, int32 gifts_per_round_, int32 start_date_)
 
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

string id_
 Identifier of the auction.
 
int32 gifts_per_round_
 Number of gifts distributed in each round.
 
int32 start_date_
 Point in time (Unix timestamp) when the auction will start.
 

Static Public Attributes

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

Detailed Description

Describes an auction on which a gift can be purchased.

Definition at line 22913 of file td_api.h.

Constructor & Destructor Documentation

◆ giftAuction() [1/2]

td::td_api::giftAuction::giftAuction ( )

Describes an auction on which a gift can be purchased.

◆ giftAuction() [2/2]

td::td_api::giftAuction::giftAuction ( string const &  id_,
int32  gifts_per_round_,
int32  start_date_ 
)

Describes an auction on which a gift can be purchased.

Parameters
[in]id_Identifier of the auction.
[in]gifts_per_round_Number of gifts distributed in each round.
[in]start_date_Point in time (Unix timestamp) when the auction will start.

Member Function Documentation

◆ store()

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

◆ gifts_per_round_

int32 td::td_api::giftAuction::gifts_per_round_

Number of gifts distributed in each round.

Definition at line 22926 of file td_api.h.

◆ ID

const std::int32_t td::td_api::giftAuction::ID = -907929982
static

Identifier uniquely determining a type of the object.

Definition at line 22945 of file td_api.h.

◆ id_

string td::td_api::giftAuction::id_

Identifier of the auction.

Definition at line 22924 of file td_api.h.

◆ start_date_

int32 td::td_api::giftAuction::start_date_

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

Definition at line 22928 of file td_api.h.


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