public static class TdApi.MessageGiveawayCreated extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
starCount
Number of Telegram Stars that will be shared by winners of the giveaway; 0 for Telegram Premium giveaways.
|
| Constructor and Description |
|---|
MessageGiveawayCreated()
A giveaway was created for the chat.
|
MessageGiveawayCreated(long starCount)
A giveaway was created for the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long starCount
public static final int CONSTRUCTOR
public MessageGiveawayCreated()
public MessageGiveawayCreated(long starCount)
starCount - Number of Telegram Stars that will be shared by winners of the giveaway; 0 for Telegram Premium giveaways.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object