public static class TdApi.ChatRevenueStatistics extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatRevenueAmount |
revenueAmount
Amount of earned revenue.
|
TdApi.StatisticalGraph |
revenueByHourGraph
A graph containing amount of revenue in a given hour.
|
TdApi.StatisticalGraph |
revenueGraph
A graph containing amount of revenue.
|
double |
usdRate
Current conversion rate of the cryptocurrency in which revenue is calculated to USD.
|
| Constructor and Description |
|---|
ChatRevenueStatistics()
A 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.StatisticalGraph revenueByHourGraph
public TdApi.StatisticalGraph revenueGraph
public TdApi.ChatRevenueAmount revenueAmount
public double usdRate
public static final int CONSTRUCTOR
public ChatRevenueStatistics()
public ChatRevenueStatistics(TdApi.StatisticalGraph revenueByHourGraph, TdApi.StatisticalGraph revenueGraph, TdApi.ChatRevenueAmount revenueAmount, double usdRate)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object