Class TdApi.TonRevenueStatistics

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TonRevenueStatistics
Enclosing class:
TdApi

public static class TdApi.TonRevenueStatistics extends TdApi.Object
A detailed statistics about Toncoins earned by the current user.
  • Field Details

    • revenueByDayGraph

      public TdApi.StatisticalGraph revenueByDayGraph
      A graph containing amount of revenue in a given day.
    • status

      public TdApi.TonRevenueStatus status
      Amount of earned revenue.
    • usdRate

      public double usdRate
      Current conversion rate of nanotoncoin to USD cents.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR