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

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

Inheritance diagram for td::td_api::messageGiveawayCompleted:
td::td_api::MessageContent td::td_api::Object td::TlObject

Public Member Functions

 messageGiveawayCompleted ()
 
 messageGiveawayCompleted (int53 giveaway_message_id_, int32 winner_count_, bool is_star_giveaway_, int32 unclaimed_prize_count_)
 
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

int53 giveaway_message_id_
 Identifier of the message with the giveaway; may be 0 or an identifier of a deleted message.
 
int32 winner_count_
 Number of winners in the giveaway.
 
bool is_star_giveaway_
 True, if the giveaway is a Telegram Star giveaway.
 
int32 unclaimed_prize_count_
 Number of undistributed prizes; for Telegram Premium giveaways only.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 41926 of file td_api.h.

Constructor & Destructor Documentation

◆ messageGiveawayCompleted() [1/2]

td::td_api::messageGiveawayCompleted::messageGiveawayCompleted ( )

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

◆ messageGiveawayCompleted() [2/2]

td::td_api::messageGiveawayCompleted::messageGiveawayCompleted ( int53  giveaway_message_id_,
int32  winner_count_,
bool  is_star_giveaway_,
int32  unclaimed_prize_count_ 
)

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

Parameters
[in]giveaway_message_id_Identifier of the message with the giveaway; may be 0 or an identifier of a deleted message.
[in]winner_count_Number of winners in the giveaway.
[in]is_star_giveaway_True, if the giveaway is a Telegram Star giveaway.
[in]unclaimed_prize_count_Number of undistributed prizes; for Telegram Premium giveaways only.

Member Function Documentation

◆ store()

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

◆ giveaway_message_id_

int53 td::td_api::messageGiveawayCompleted::giveaway_message_id_

Identifier of the message with the giveaway; may be 0 or an identifier of a deleted message.

Definition at line 41937 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageGiveawayCompleted::ID = -467351305
static

Identifier uniquely determining a type of the object.

Definition at line 41961 of file td_api.h.

◆ is_star_giveaway_

bool td::td_api::messageGiveawayCompleted::is_star_giveaway_

True, if the giveaway is a Telegram Star giveaway.

Definition at line 41941 of file td_api.h.

◆ unclaimed_prize_count_

int32 td::td_api::messageGiveawayCompleted::unclaimed_prize_count_

Number of undistributed prizes; for Telegram Premium giveaways only.

Definition at line 41943 of file td_api.h.

◆ winner_count_

int32 td::td_api::messageGiveawayCompleted::winner_count_

Number of winners in the giveaway.

Definition at line 41939 of file td_api.h.


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