public static class TdApi.StarGiveawayWinnerOption extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isDefault
True, if the option must be chosen by default.
|
int |
winnerCount
The number of users that will be chosen as winners.
|
long |
wonStarCount
The number of Telegram Stars that will be won by the winners of the giveaway.
|
| Constructor and Description |
|---|
StarGiveawayWinnerOption()
Describes an option for the number of winners of a Telegram Star giveaway.
|
StarGiveawayWinnerOption(int winnerCount,
long wonStarCount,
boolean isDefault)
Describes an option for the number of winners of a Telegram Star giveaway.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int winnerCount
public long wonStarCount
public boolean isDefault
public static final int CONSTRUCTOR
public StarGiveawayWinnerOption()
public StarGiveawayWinnerOption(int winnerCount,
long wonStarCount,
boolean isDefault)
winnerCount - The number of users that will be chosen as winners.wonStarCount - The number of Telegram Stars that will be won by the winners of the giveaway.isDefault - True, if the option must be chosen by default.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object