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

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

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

Public Member Functions

 messageGiveawayPrizeStars ()
 
 messageGiveawayPrizeStars (int53 star_count_, string const &transaction_id_, int53 boosted_chat_id_, int53 giveaway_message_id_, bool is_unclaimed_, object_ptr< sticker > &&sticker_)
 
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 star_count_
 Number of Telegram Stars that were received.
 
string transaction_id_
 Identifier of the transaction for Telegram Stars credit.
 
int53 boosted_chat_id_
 Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.
 
int53 giveaway_message_id_
 Identifier of the message with the giveaway in the boosted chat; may be 0 or an identifier of a deleted message.
 
bool is_unclaimed_
 True, if the corresponding winner wasn&#x27;t chosen and the Telegram Stars were received by the owner of the boosted chat.
 
object_ptr< stickersticker_
 A sticker to be shown in the message; may be null if unknown.
 

Static Public Attributes

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

Detailed Description

A Telegram Stars were received by the current user from a giveaway.

Definition at line 42157 of file td_api.h.

Constructor & Destructor Documentation

◆ messageGiveawayPrizeStars() [1/2]

td::td_api::messageGiveawayPrizeStars::messageGiveawayPrizeStars ( )

A Telegram Stars were received by the current user from a giveaway.

◆ messageGiveawayPrizeStars() [2/2]

td::td_api::messageGiveawayPrizeStars::messageGiveawayPrizeStars ( int53  star_count_,
string const &  transaction_id_,
int53  boosted_chat_id_,
int53  giveaway_message_id_,
bool  is_unclaimed_,
object_ptr< sticker > &&  sticker_ 
)

A Telegram Stars were received by the current user from a giveaway.

Parameters
[in]star_count_Number of Telegram Stars that were received.
[in]transaction_id_Identifier of the transaction for Telegram Stars credit.
[in]boosted_chat_id_Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.
[in]giveaway_message_id_Identifier of the message with the giveaway in the boosted chat; may be 0 or an identifier of a deleted message.
[in]is_unclaimed_True, if the corresponding winner wasn&#x27;t chosen and the Telegram Stars were received by the owner of the boosted chat.
[in]sticker_A sticker to be shown in the message; may be null if unknown.

Member Function Documentation

◆ store()

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

◆ boosted_chat_id_

int53 td::td_api::messageGiveawayPrizeStars::boosted_chat_id_

Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.

Definition at line 42172 of file td_api.h.

◆ giveaway_message_id_

int53 td::td_api::messageGiveawayPrizeStars::giveaway_message_id_

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

Definition at line 42174 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageGiveawayPrizeStars::ID = -1441833501
static

Identifier uniquely determining a type of the object.

Definition at line 42198 of file td_api.h.

◆ is_unclaimed_

bool td::td_api::messageGiveawayPrizeStars::is_unclaimed_

True, if the corresponding winner wasn&#x27;t chosen and the Telegram Stars were received by the owner of the boosted chat.

Definition at line 42176 of file td_api.h.

◆ star_count_

int53 td::td_api::messageGiveawayPrizeStars::star_count_

Number of Telegram Stars that were received.

Definition at line 42168 of file td_api.h.

◆ sticker_

object_ptr<sticker> td::td_api::messageGiveawayPrizeStars::sticker_

A sticker to be shown in the message; may be null if unknown.

Definition at line 42178 of file td_api.h.

◆ transaction_id_

string td::td_api::messageGiveawayPrizeStars::transaction_id_

Identifier of the transaction for Telegram Stars credit.

Definition at line 42170 of file td_api.h.


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