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

Inherits Object.

Description

Describes an auction on which a gift can be purchased.

Public Fields

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.
 

Public Instance Methods

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

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: