#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -865888761 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes an option for the number of winners of a Telegram Star giveaway.
Definition at line 64468 of file td_api.h.
◆ starGiveawayWinnerOption() [1/2]
| td::td_api::starGiveawayWinnerOption::starGiveawayWinnerOption |
( |
| ) |
|
Describes an option for the number of winners of a Telegram Star giveaway.
◆ starGiveawayWinnerOption() [2/2]
| td::td_api::starGiveawayWinnerOption::starGiveawayWinnerOption |
( |
int32 |
winner_count_, |
|
|
int53 |
won_star_count_, |
|
|
bool |
is_default_ |
|
) |
| |
Describes an option for the number of winners of a Telegram Star giveaway.
- Parameters
-
| [in] | winner_count_ | The number of users that will be chosen as winners. |
| [in] | won_star_count_ | The number of Telegram Stars that will be won by the winners of the giveaway. |
| [in] | is_default_ | True, if the option must be chosen by default. |
◆ store()
| void td::td_api::starGiveawayWinnerOption::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.
◆ ID
| const std::int32_t td::td_api::starGiveawayWinnerOption::ID = -865888761 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 64500 of file td_api.h.
◆ is_default_
| bool td::td_api::starGiveawayWinnerOption::is_default_ |
True, if the option must be chosen by default.
Definition at line 64483 of file td_api.h.
◆ winner_count_
| int32 td::td_api::starGiveawayWinnerOption::winner_count_ |
The number of users that will be chosen as winners.
Definition at line 64479 of file td_api.h.
◆ won_star_count_
| int53 td::td_api::starGiveawayWinnerOption::won_star_count_ |
The number of Telegram Stars that will be won by the winners of the giveaway.
Definition at line 64481 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