Class TdApi.GramRevenueStatistics

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

public static class TdApi.GramRevenueStatistics extends TdApi.Object
A detailed statistics about TON Grams 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.GramRevenueStatus status
      Amount of earned revenue.
    • usdRate

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

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GramRevenueStatistics

      public GramRevenueStatistics()
      A detailed statistics about TON Grams earned by the current user.
    • GramRevenueStatistics

      public GramRevenueStatistics(TdApi.StatisticalGraph revenueByDayGraph, TdApi.GramRevenueStatus status, double usdRate)
      A detailed statistics about TON Grams 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 nanogram 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