Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeGiveawayDeposit
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeGiveawayDeposit
- Enclosing class:
- TdApi
The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of a supergroup or a channel chat that created the giveaway.static final int
Identifier uniquely determining type of the object.long
Identifier of the message with the giveaway; can be 0 or an identifier of a deleted message. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a deposit of Telegram Stars from a giveaway; for regular users only.StarTransactionTypeGiveawayDeposit
(long chatId, long giveawayMessageId) The transaction is a deposit of Telegram Stars from a giveaway; for regular users only. -
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
-
chatId
public long chatIdIdentifier of a supergroup or a channel chat that created the giveaway. -
giveawayMessageId
public long giveawayMessageIdIdentifier of the message with the giveaway; can be 0 or an identifier of a deleted message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionTypeGiveawayDeposit
public StarTransactionTypeGiveawayDeposit()The transaction is a deposit of Telegram Stars from a giveaway; for regular users only. -
StarTransactionTypeGiveawayDeposit
public StarTransactionTypeGiveawayDeposit(long chatId, long giveawayMessageId) The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.- Parameters:
chatId
- Identifier of a supergroup or a channel chat that created the giveaway.giveawayMessageId
- Identifier of the message with the giveaway; can be 0 or an identifier of a deleted message.
-
-
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
-