public static class TdApi.StarAmount extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
nanostarCount
The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.
|
long |
starCount
The integer amount of Telegram Stars rounded to 0.
|
| Constructor and Description |
|---|
StarAmount()
Describes a possibly non-integer amount of Telegram Stars.
|
StarAmount(long starCount,
int nanostarCount)
Describes a possibly non-integer amount of Telegram Stars.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long starCount
public int nanostarCount
public static final int CONSTRUCTOR
public StarAmount()
public StarAmount(long starCount,
int nanostarCount)
starCount - The integer amount of Telegram Stars rounded to 0.nanostarCount - The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object