Inherits MessageContent.
A Telegram Stars were received by the current user from a giveaway.
Public Fields | |
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; can be 0 if the message was deleted. | |
bool | is_unclaimed_ |
True, if the corresponding winner wasn't chosen and the Telegram Stars were received by the owner of the boosted chat. | |
object_ptr< sticker > | sticker_ |
A sticker to be shown in the message; may be null if unknown. | |
Public Instance Methods | |
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 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 = -1441833501 |
Identifier uniquely determining a type of the object. | |
A Telegram Stars were received by the current user from a giveaway.
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.
[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; can be 0 if the message was deleted. |
[in] | is_unclaimed_ | True, if the corresponding winner wasn'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. |
|
finalvirtual |