public static class TdApi.StarTransactionTypeGiftPurchase 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 received the gift.
|
| Constructor and Description |
|---|
StarTransactionTypeGiftPurchase()
The transaction is a purchase of a gift to another user; for regular users and bots only.
|
StarTransactionTypeGiftPurchase(long userId,
TdApi.Gift gift)
The transaction is a purchase of a gift to another user; for regular users and bots 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 StarTransactionTypeGiftPurchase()
public StarTransactionTypeGiftPurchase(long userId,
TdApi.Gift gift)
userId - Identifier of the user that received the gift.gift - The gift.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object