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

Inherits PremiumGiveawayInfo.

Description

Describes an ongoing giveaway.

Public Fields

int32 creation_date_
 Point in time (Unix timestamp) when the giveaway was created.
 
object_ptr< PremiumGiveawayParticipantStatusstatus_
 Status of the current user in the giveaway.
 
bool is_ended_
 True, if the giveaway has ended and results are being prepared.
 

Public Instance Methods

 premiumGiveawayInfoOngoing ()
 
 premiumGiveawayInfoOngoing (int32 creation_date_, object_ptr< PremiumGiveawayParticipantStatus > &&status_, bool is_ended_)
 
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 = 1221840495
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ premiumGiveawayInfoOngoing() [1/2]

Describes an ongoing giveaway.

◆ premiumGiveawayInfoOngoing() [2/2]

premiumGiveawayInfoOngoing ( int32  creation_date_,
object_ptr< PremiumGiveawayParticipantStatus > &&  status_,
bool  is_ended_ 
)

Describes an ongoing giveaway.

Parameters
[in]creation_date_Point in time (Unix timestamp) when the giveaway was created.
[in]status_Status of the current user in the giveaway.
[in]is_ended_True, if the giveaway has ended and results are being prepared.

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: