public static class TdApi.StarTransactionTypeBotInvoicePurchase extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ProductInfo |
productInfo
Information about the bought product.
|
long |
userId
Identifier of the bot or the business account user that created the invoice.
|
| Constructor and Description |
|---|
StarTransactionTypeBotInvoicePurchase()
The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.
|
StarTransactionTypeBotInvoicePurchase(long userId,
TdApi.ProductInfo productInfo)
The transaction is a purchase of a product 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.ProductInfo productInfo
public static final int CONSTRUCTOR
public StarTransactionTypeBotInvoicePurchase()
public StarTransactionTypeBotInvoicePurchase(long userId,
TdApi.ProductInfo productInfo)
userId - Identifier of the bot or the business account user that created the invoice.productInfo - Information about the bought product.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object