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 Telegram Star amount.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intThe number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.longThe integer Telegram Star amount rounded to 0. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a possibly non-integer Telegram Star amount.StarAmount(long starCount, int nanostarCount) Describes a possibly non-integer Telegram Star amount. -
Method Summary
Modifier and TypeMethodDescriptionintReturns 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 Telegram Star amount 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 Telegram Star amount. -
StarAmount
public StarAmount(long starCount, int nanostarCount) Describes a possibly non-integer Telegram Star amount.- Parameters:
starCount- The integer Telegram Star amount 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-