public static class TdApi.StarTransaction extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the transaction was completed.
|
java.lang.String |
id
Unique identifier of the transaction.
|
boolean |
isRefund
True, if the transaction is a refund of a previous transaction.
|
TdApi.StarAmount |
starAmount
The amount of added owned Telegram Stars; negative for outgoing transactions.
|
TdApi.StarTransactionType |
type
Type of the transaction.
|
| Constructor and Description |
|---|
StarTransaction()
Represents a transaction changing the amount of owned Telegram Stars.
|
StarTransaction(java.lang.String id,
TdApi.StarAmount starAmount,
boolean isRefund,
int date,
TdApi.StarTransactionType type)
Represents a transaction changing the amount of owned Telegram Stars.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String id
public TdApi.StarAmount starAmount
public boolean isRefund
public int date
public TdApi.StarTransactionType type
public static final int CONSTRUCTOR
public StarTransaction()
public StarTransaction(java.lang.String id,
TdApi.StarAmount starAmount,
boolean isRefund,
int date,
TdApi.StarTransactionType type)
id - Unique identifier of the transaction.starAmount - The amount of added owned Telegram Stars; negative for outgoing transactions.isRefund - True, if the transaction is a refund of a previous transaction.date - Point in time (Unix timestamp) when the transaction was completed.type - Type of the transaction.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object