Inherits Object.
Describes an option for the number of winners of a Telegram Star giveaway.
Public Fields | |
int32 | winner_count_ |
The number of users that will be chosen as winners. | |
int53 | won_star_count_ |
The number of Telegram Stars that will be won by the winners of the giveaway. | |
bool | is_default_ |
True, if the option must be chosen by default. | |
Public Instance Methods | |
starGiveawayWinnerOption () | |
starGiveawayWinnerOption (int32 winner_count_, int53 won_star_count_, bool is_default_) | |
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 = -865888761 |
Identifier uniquely determining a type of the object. | |
Describes an option for the number of winners of a Telegram Star giveaway.
starGiveawayWinnerOption | ( | int32 | winner_count_, |
int53 | won_star_count_, | ||
bool | is_default_ | ||
) |
Describes an option for the number of winners of a Telegram Star giveaway.
[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. |
|
finalvirtual |