public static class TdApi.StarTransactionTypeUserDeposit extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Sticker |
sticker
The sticker to be shown in the transaction information; may be null if unknown.
|
long |
userId
Identifier of the user that gifted Telegram Stars; 0 if the user was anonymous.
|
| Constructor and Description |
|---|
StarTransactionTypeUserDeposit()
The transaction is a deposit of Telegram Stars by another user; for regular users only.
|
StarTransactionTypeUserDeposit(long userId,
TdApi.Sticker sticker)
The transaction is a deposit of Telegram Stars by another user; for regular users only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.Sticker sticker
public static final int CONSTRUCTOR
public StarTransactionTypeUserDeposit()
public StarTransactionTypeUserDeposit(long userId,
TdApi.Sticker sticker)
userId - Identifier of the user that gifted Telegram Stars; 0 if the user was anonymous.sticker - The sticker to be shown in the transaction information; may be null if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object