Class TdApi.ChatRevenueStatistics
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatRevenueStatistics
- Enclosing class:
- TdApi
A detailed statistics about revenue earned from sponsored messages in a chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier 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.double
Current conversion rate of the cryptocurrency in which revenue is calculated to USD. -
Constructor Summary
ConstructorDescriptionA 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-