Package org.drinkless.tdlib
Class TdApi.TonRevenueStatistics
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TonRevenueStatistics
- Enclosing class:
- TdApi
A detailed statistics about Toncoins earned by the current user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.A graph containing amount of revenue in a given day.Amount of earned revenue.doubleCurrent conversion rate of nanotoncoin to USD cents. -
Constructor Summary
ConstructorsConstructorDescriptionA detailed statistics about Toncoins earned by the current user.TonRevenueStatistics(TdApi.StatisticalGraph revenueByDayGraph, TdApi.TonRevenueStatus status, double usdRate) A detailed statistics 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
-
revenueByDayGraph
A graph containing amount of revenue in a given day. -
status
Amount of earned revenue. -
usdRate
public double usdRateCurrent conversion rate of nanotoncoin to USD cents. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TonRevenueStatistics
public TonRevenueStatistics()A detailed statistics about Toncoins earned by the current user. -
TonRevenueStatistics
public TonRevenueStatistics(TdApi.StatisticalGraph revenueByDayGraph, TdApi.TonRevenueStatus status, double usdRate) A detailed statistics about Toncoins earned by the current user.- Parameters:
revenueByDayGraph- A graph containing amount of revenue in a given day.status- Amount of earned revenue.usdRate- Current conversion rate of nanotoncoin to USD cents.
-
-
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
-