java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessagePremiumGiveawayCompleted
- Enclosing class:
- TdApi
A Telegram Premium giveaway without public winners has been completed
for the chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the message with the giveaway; can be 0 if the message was deleted.int
Number of undistributed prizes.int
Number of winners in the giveaway. -
Constructor Summary
ConstructorDescriptionA Telegram Premium giveaway without public winners has been completed for the chat.MessagePremiumGiveawayCompleted
(long giveawayMessageId, int winnerCount, int unclaimedPrizeCount) A Telegram Premium giveaway without public winners has been completed for the chat.A Telegram Premium giveaway without public winners has been completed for the chat. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
giveawayMessageId
public long giveawayMessageIdIdentifier of the message with the giveaway; can be 0 if the message was deleted. -
winnerCount
public int winnerCountNumber of winners in the giveaway. -
unclaimedPrizeCount
public int unclaimedPrizeCountNumber of undistributed prizes. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessagePremiumGiveawayCompleted
public MessagePremiumGiveawayCompleted()A Telegram Premium giveaway without public winners has been completed for the chat. -
MessagePremiumGiveawayCompleted
public MessagePremiumGiveawayCompleted(long giveawayMessageId, int winnerCount, int unclaimedPrizeCount) A Telegram Premium giveaway without public winners has been completed for the chat.- Parameters:
giveawayMessageId
- Identifier of the message with the giveaway; can be 0 if the message was deleted.winnerCount
- Number of winners in the giveaway.unclaimedPrizeCount
- Number of undistributed prizes.
-
MessagePremiumGiveawayCompleted
A Telegram Premium giveaway without public winners has been completed for the chat.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-