public static class TdApi.StarTransactionTypeBotInvoiceSale extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
TdApi.AffiliateInfo |
affiliate
Information about the affiliate which received commission from the transaction; may be null if none.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
invoicePayload
Invoice payload.
|
TdApi.ProductInfo |
productInfo
Information about the bought product.
|
long |
userId
Identifier of the user that bought the product.
|
| Constructor and Description |
|---|
StarTransactionTypeBotInvoiceSale()
The transaction is a sale of a product by the bot; for bots only.
|
StarTransactionTypeBotInvoiceSale(long userId,
TdApi.ProductInfo productInfo,
byte[] invoicePayload,
TdApi.AffiliateInfo affiliate)
The transaction is a sale of a product by the bot; for bots 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 byte[] invoicePayload
public TdApi.AffiliateInfo affiliate
public static final int CONSTRUCTOR
public StarTransactionTypeBotInvoiceSale()
public StarTransactionTypeBotInvoiceSale(long userId,
TdApi.ProductInfo productInfo,
byte[] invoicePayload,
TdApi.AffiliateInfo affiliate)
userId - Identifier of the user that bought the product.productInfo - Information about the bought product.invoicePayload - Invoice payload.affiliate - Information about the affiliate which received commission from the transaction; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object