#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| 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'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.
|
| |
|
| 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.
Definition at line 42157 of file td_api.h.
◆ 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'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. |
◆ 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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ 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'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_
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:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h