public static class TdApi.ChatRevenueTransaction extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
cryptocurrency
Cryptocurrency in which revenue is calculated.
|
long |
cryptocurrencyAmount
The withdrawn amount, in the smallest units of the cryptocurrency.
|
TdApi.ChatRevenueTransactionType |
type
Type of the transaction.
|
| Constructor and Description |
|---|
ChatRevenueTransaction()
Contains a chat revenue transactions.
|
ChatRevenueTransaction(java.lang.String cryptocurrency,
long cryptocurrencyAmount,
TdApi.ChatRevenueTransactionType type)
Contains a chat revenue transactions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String cryptocurrency
public long cryptocurrencyAmount
public TdApi.ChatRevenueTransactionType type
public static final int CONSTRUCTOR
public ChatRevenueTransaction()
public ChatRevenueTransaction(java.lang.String cryptocurrency,
long cryptocurrencyAmount,
TdApi.ChatRevenueTransactionType type)
cryptocurrency - Cryptocurrency in which revenue is calculated.cryptocurrencyAmount - The withdrawn amount, in the smallest units of the cryptocurrency.type - Type of the transaction.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object