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

Inherits MessageContent.

Description

A Telegram Premium giveaway without public winners has been completed for the chat.

Public Fields

int53 giveaway_message_id_
 Identifier of the message with the giveaway; can be 0 if the message was deleted.
 
int32 winner_count_
 Number of winners in the giveaway.
 
int32 unclaimed_prize_count_
 Number of undistributed prizes.
 

Public Instance Methods

 messagePremiumGiveawayCompleted ()
 
 messagePremiumGiveawayCompleted (int53 giveaway_message_id_, int32 winner_count_, int32 unclaimed_prize_count_)
 
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 = -2142029495
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ messagePremiumGiveawayCompleted() [1/2]

A Telegram Premium giveaway without public winners has been completed for the chat.

◆ messagePremiumGiveawayCompleted() [2/2]

messagePremiumGiveawayCompleted ( int53  giveaway_message_id_,
int32  winner_count_,
int32  unclaimed_prize_count_ 
)

A Telegram Premium giveaway without public winners has been completed for the chat.

Parameters
[in]giveaway_message_id_Identifier of the message with the giveaway; can be 0 if the message was deleted.
[in]winner_count_Number of winners in the giveaway.
[in]unclaimed_prize_count_Number of undistributed prizes.

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: