TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
giftAuction Class Referencefinal

Inherits Object.

Description

Describes an auction on which a gift can be purchased.

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 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 gifts_per_round_
 Number of gifts distributed in each round.
 
string id_
 Identifier of the auction.
 
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.
 

Constructor & Destructor Documentation

◆ giftAuction() [1/2]

Describes an auction on which a gift can be purchased.

◆ giftAuction() [2/2]

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