public static class TdApi.StarTransactionTypeGiveawayDeposit extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of a supergroup or a channel chat that created the giveaway.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
giveawayMessageId
Identifier of the message with the giveaway; can be 0 or an identifier of a deleted message.
|
| Constructor and Description |
|---|
StarTransactionTypeGiveawayDeposit()
The 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long giveawayMessageId
public static final int CONSTRUCTOR
public StarTransactionTypeGiveawayDeposit()
public StarTransactionTypeGiveawayDeposit(long chatId,
long giveawayMessageId)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object