Package org.drinkless.tdlib
Class TdApi.ChatRevenueStatistics
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatRevenueStatistics
- Enclosing class:
- TdApi
A detailed statistics about revenue earned from sponsored messages in a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Amount of earned revenue.A graph containing amount of revenue in a given hour.A graph containing amount of revenue.doubleCurrent conversion rate of the cryptocurrency in which revenue is calculated to USD. -
Constructor Summary
ConstructorsConstructorDescriptionA detailed statistics about revenue earned from sponsored messages in a chat.ChatRevenueStatistics(TdApi.StatisticalGraph revenueByHourGraph, TdApi.StatisticalGraph revenueGraph, TdApi.ChatRevenueAmount revenueAmount, double usdRate) A detailed statistics about revenue earned from sponsored messages in a chat. -
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
-
revenueByHourGraph
A graph containing amount of revenue in a given hour. -
revenueGraph
A graph containing amount of revenue. -
revenueAmount
Amount of earned revenue. -
usdRate
public double usdRateCurrent conversion rate of the cryptocurrency in which revenue is calculated to USD. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatRevenueStatistics
public ChatRevenueStatistics()A detailed statistics about revenue earned from sponsored messages in a chat. -
ChatRevenueStatistics
public ChatRevenueStatistics(TdApi.StatisticalGraph revenueByHourGraph, TdApi.StatisticalGraph revenueGraph, TdApi.ChatRevenueAmount revenueAmount, double usdRate) A detailed statistics about revenue earned from sponsored messages in a chat.- Parameters:
revenueByHourGraph- A graph containing amount of revenue in a given hour.revenueGraph- A graph containing amount of revenue.revenueAmount- Amount of earned revenue.usdRate- Current conversion rate of the cryptocurrency in which revenue is calculated to USD.
-
-
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
-