public static class TdApi.MessageGiveawayPrizeStars extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
long |
boostedChatId
Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
giveawayMessageId
Identifier of the message with the giveaway in the boosted chat; can be 0 if the message was deleted.
|
boolean |
isUnclaimed
True, if the corresponding winner wasn't chosen and the Telegram Stars were received by the owner of the boosted chat.
|
long |
starCount
Number of Telegram Stars that were received.
|
TdApi.Sticker |
sticker
A sticker to be shown in the message; may be null if unknown.
|
java.lang.String |
transactionId
Identifier of the transaction for Telegram Stars credit.
|
| Constructor and Description |
|---|
MessageGiveawayPrizeStars()
A Telegram Stars were received by the current user from a giveaway.
|
MessageGiveawayPrizeStars(long starCount,
java.lang.String transactionId,
long boostedChatId,
long giveawayMessageId,
boolean isUnclaimed,
TdApi.Sticker sticker)
A Telegram Stars were received by the current user from a giveaway.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long starCount
public java.lang.String transactionId
public long boostedChatId
public long giveawayMessageId
public boolean isUnclaimed
public TdApi.Sticker sticker
public static final int CONSTRUCTOR
public MessageGiveawayPrizeStars()
public MessageGiveawayPrizeStars(long starCount,
java.lang.String transactionId,
long boostedChatId,
long giveawayMessageId,
boolean isUnclaimed,
TdApi.Sticker sticker)
starCount - Number of Telegram Stars that were received.transactionId - Identifier of the transaction for Telegram Stars credit.boostedChatId - Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.giveawayMessageId - Identifier of the message with the giveaway in the boosted chat; can be 0 if the message was deleted.isUnclaimed - True, if the corresponding winner wasn't chosen and the Telegram Stars were received by the owner of the boosted chat.sticker - A sticker to be shown in the message; may be null if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object