public static class TdApi.MessageGiveawayCompleted extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
giveawayMessageId
Identifier of the message with the giveaway; can be 0 if the message was deleted.
|
boolean |
isStarGiveaway
True, if the giveaway is a Telegram Star giveaway.
|
int |
unclaimedPrizeCount
Number of undistributed prizes; for Telegram Premium giveaways only.
|
int |
winnerCount
Number of winners in the giveaway.
|
| Constructor and Description |
|---|
MessageGiveawayCompleted()
A giveaway without public winners has been completed for the chat.
|
MessageGiveawayCompleted(long giveawayMessageId,
int winnerCount,
boolean isStarGiveaway,
int unclaimedPrizeCount)
A giveaway without public winners has been completed for the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long giveawayMessageId
public int winnerCount
public boolean isStarGiveaway
public int unclaimedPrizeCount
public static final int CONSTRUCTOR
public MessageGiveawayCompleted()
public MessageGiveawayCompleted(long giveawayMessageId,
int winnerCount,
boolean isStarGiveaway,
int unclaimedPrizeCount)
giveawayMessageId - Identifier of the message with the giveaway; can be 0 if the message was deleted.winnerCount - Number of winners in the giveaway.isStarGiveaway - True, if the giveaway is a Telegram Star giveaway.unclaimedPrizeCount - Number of undistributed prizes; for Telegram Premium giveaways only.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object