Package org.drinkless.tdlib
Class TdApi.MessageGiveawayPrizeStars
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageGiveawayPrizeStars
- Enclosing class:
- TdApi
A Telegram Stars were received by the current user from a giveaway.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.static final int
Identifier uniquely determining type of the object.long
Identifier of the message with the giveaway in the boosted chat; can be 0 if the message was deleted.boolean
True, if the corresponding winner wasn't chosen and the Telegram Stars were received by the owner of the boosted chat.long
Number of Telegram Stars that were received.A sticker to be shown in the message; may be null if unknown.Identifier of the transaction for Telegram Stars credit. -
Constructor Summary
ConstructorsConstructorDescriptionA Telegram Stars were received by the current user from a giveaway.MessageGiveawayPrizeStars
(long starCount, String transactionId, long boostedChatId, long giveawayMessageId, boolean isUnclaimed, TdApi.Sticker sticker) A Telegram Stars were received by the current user from a giveaway. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
starCount
public long starCountNumber of Telegram Stars that were received. -
transactionId
Identifier of the transaction for Telegram Stars credit. -
boostedChatId
public long boostedChatIdIdentifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway. -
giveawayMessageId
public long giveawayMessageIdIdentifier of the message with the giveaway in the boosted chat; can be 0 if the message was deleted. -
isUnclaimed
public boolean isUnclaimedTrue, 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageGiveawayPrizeStars
public MessageGiveawayPrizeStars()A Telegram Stars were received by the current user from a giveaway. -
MessageGiveawayPrizeStars
public MessageGiveawayPrizeStars(long starCount, String transactionId, long boostedChatId, long giveawayMessageId, boolean isUnclaimed, TdApi.Sticker sticker) A Telegram Stars were received by the current user from a giveaway.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-