Package org.drinkless.tdlib
Class TdApi.StarAmount
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarAmount
- Enclosing class:
- TdApi
Describes a possibly non-integer amount of Telegram Stars.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.long
The integer amount of Telegram Stars rounded to 0. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a possibly non-integer amount of Telegram Stars.StarAmount
(long starCount, int nanostarCount) Describes a possibly non-integer amount of Telegram Stars. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
starCount
public long starCountThe integer amount of Telegram Stars rounded to 0. -
nanostarCount
public int nanostarCountThe number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarAmount
public StarAmount()Describes a possibly non-integer amount of Telegram Stars. -
StarAmount
public StarAmount(long starCount, int nanostarCount) Describes a possibly non-integer amount of Telegram Stars.- Parameters:
starCount
- The integer amount of Telegram Stars rounded to 0.nanostarCount
- The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-