Class TdApi.ChatRevenueStatistics

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatRevenueStatistics
Enclosing class:
TdApi

public static class TdApi.ChatRevenueStatistics extends TdApi.Object
A detailed statistics about revenue earned from sponsored messages in a chat.
  • Field Details

    • revenueByHourGraph

      public TdApi.StatisticalGraph revenueByHourGraph
      A graph containing amount of revenue in a given hour.
    • revenueGraph

      public TdApi.StatisticalGraph revenueGraph
      A graph containing amount of revenue.
    • revenueAmount

      public TdApi.ChatRevenueAmount revenueAmount
      Amount of earned revenue.
    • usdRate

      public double usdRate
      Current conversion rate of the cryptocurrency in which revenue is calculated to USD.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR