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

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

Inheritance diagram for td::td_api::giveawayInfoOngoing:
td::td_api::GiveawayInfo td::td_api::Object td::TlObject

Public Member Functions

 giveawayInfoOngoing ()
 
 giveawayInfoOngoing (int32 creation_date_, object_ptr< GiveawayParticipantStatus > &&status_, bool is_ended_)
 
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 creation_date_
 Point in time (Unix timestamp) when the giveaway was created.
 
object_ptr< GiveawayParticipantStatusstatus_
 Status of the current user in the giveaway.
 
bool is_ended_
 True, if the giveaway has ended and results are being prepared.
 

Static Public Attributes

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

Detailed Description

Describes an ongoing giveaway.

Definition at line 24159 of file td_api.h.

Constructor & Destructor Documentation

◆ giveawayInfoOngoing() [1/2]

td::td_api::giveawayInfoOngoing::giveawayInfoOngoing ( )

Describes an ongoing giveaway.

◆ giveawayInfoOngoing() [2/2]

td::td_api::giveawayInfoOngoing::giveawayInfoOngoing ( int32  creation_date_,
object_ptr< GiveawayParticipantStatus > &&  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.

Member Function Documentation

◆ store()

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

◆ creation_date_

int32 td::td_api::giveawayInfoOngoing::creation_date_

Point in time (Unix timestamp) when the giveaway was created.

Definition at line 24170 of file td_api.h.

◆ ID

const std::int32_t td::td_api::giveawayInfoOngoing::ID = 1649336400
static

Identifier uniquely determining a type of the object.

Definition at line 24191 of file td_api.h.

◆ is_ended_

bool td::td_api::giveawayInfoOngoing::is_ended_

True, if the giveaway has ended and results are being prepared.

Definition at line 24174 of file td_api.h.

◆ status_

object_ptr<GiveawayParticipantStatus> td::td_api::giveawayInfoOngoing::status_

Status of the current user in the giveaway.

Definition at line 24172 of file td_api.h.


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