Inherits GiveawayInfo.
Describes an ongoing giveaway.
Public Fields | |
int32 | creation_date_ |
Point in time (Unix timestamp) when the giveaway was created. | |
object_ptr< GiveawayParticipantStatus > | status_ |
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 | |
giveawayInfoOngoing () | |
giveawayInfoOngoing (int32 creation_date_, object_ptr< GiveawayParticipantStatus > &&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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1649336400 |
Identifier uniquely determining a type of the object. | |
Describes an ongoing giveaway.
giveawayInfoOngoing | ( | int32 | creation_date_, |
object_ptr< GiveawayParticipantStatus > && | status_, | ||
bool | is_ended_ | ||
) |
Describes an ongoing giveaway.
[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. |
|
finalvirtual |