public static class TdApi.GiveawayPrizePremium extends TdApi.GiveawayPrize
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
monthCount
Number of months the Telegram Premium subscription will be active after code activation.
|
| Constructor and Description |
|---|
GiveawayPrizePremium()
The giveaway sends Telegram Premium subscriptions to the winners.
|
GiveawayPrizePremium(int monthCount)
The giveaway sends Telegram Premium subscriptions to the winners.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int monthCount
public static final int CONSTRUCTOR
public GiveawayPrizePremium()
public GiveawayPrizePremium(int monthCount)
monthCount - Number of months the Telegram Premium subscription will be active after code activation.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object