public static class TdApi.StarTransactionTypeGiftSale extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Gift |
gift
The gift.
|
long |
userId
Identifier of the user that sent the gift.
|
| Constructor and Description |
|---|
StarTransactionTypeGiftSale()
The transaction is a sale of a gift received from another user or bot; for regular users only.
|
StarTransactionTypeGiftSale(long userId,
TdApi.Gift gift)
The transaction is a sale of a gift received from another user or bot; 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.Gift gift
public static final int CONSTRUCTOR
public StarTransactionTypeGiftSale()
public StarTransactionTypeGiftSale(long userId,
TdApi.Gift gift)
userId - Identifier of the user that sent the gift.gift - The gift.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object