public static class TdApi.StarTransactionTypeBotPaidMediaPurchase extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.PaidMedia[] |
media
The bought media if the transaction wasn't refunded.
|
long |
userId
Identifier of the bot or the business account user that sent the paid media.
|
| Constructor and Description |
|---|
StarTransactionTypeBotPaidMediaPurchase()
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
|
StarTransactionTypeBotPaidMediaPurchase(long userId,
TdApi.PaidMedia[] media)
The transaction is a purchase of paid media from a bot or a business account by the current 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.PaidMedia[] media
public static final int CONSTRUCTOR
public StarTransactionTypeBotPaidMediaPurchase()
public StarTransactionTypeBotPaidMediaPurchase(long userId,
TdApi.PaidMedia[] media)
userId - Identifier of the bot or the business account user that sent the paid media.media - The bought media if the transaction wasn't refunded.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object