Package org.drinkless.tdlib
Class TdApi.TonRevenueStatus
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TonRevenueStatus
- Enclosing class:
- TdApi
Contains information about Toncoins earned by the current user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongAmount of Toncoins that are available for withdrawal; in the smallest units of the cryptocurrency.longAmount of Toncoins that aren't withdrawn yet; in the smallest units of the cryptocurrency.static final intIdentifier uniquely determining type of the object.longTotal amount of Toncoins earned; in the smallest units of the cryptocurrency.booleanTrue, if Toncoins can be withdrawn. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about Toncoins earned by the current user.TonRevenueStatus(long totalAmount, long balanceAmount, long availableAmount, boolean withdrawalEnabled) Contains information about Toncoins earned by the current user. -
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
-
totalAmount
public long totalAmountTotal amount of Toncoins earned; in the smallest units of the cryptocurrency. -
balanceAmount
public long balanceAmountAmount of Toncoins that aren't withdrawn yet; in the smallest units of the cryptocurrency. -
availableAmount
public long availableAmountAmount of Toncoins that are available for withdrawal; in the smallest units of the cryptocurrency. -
withdrawalEnabled
public boolean withdrawalEnabledTrue, if Toncoins can be withdrawn. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TonRevenueStatus
public TonRevenueStatus()Contains information about Toncoins earned by the current user. -
TonRevenueStatus
public TonRevenueStatus(long totalAmount, long balanceAmount, long availableAmount, boolean withdrawalEnabled) Contains information about Toncoins earned by the current user.- Parameters:
totalAmount- Total amount of Toncoins earned; in the smallest units of the cryptocurrency.balanceAmount- Amount of Toncoins that aren't withdrawn yet; in the smallest units of the cryptocurrency.availableAmount- Amount of Toncoins that are available for withdrawal; in the smallest units of the cryptocurrency.withdrawalEnabled- True, if Toncoins can be withdrawn.
-
-
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
-