Module tdlight.api

Class TdApi.ChatStatisticsSupergroup

Enclosing class:
TdApi

public static final class TdApi.ChatStatisticsSupergroup extends TdApi.ChatStatistics
A detailed statistics about a supergroup chat.
  • Field Details

  • Constructor Details

    • ChatStatisticsSupergroup

      public ChatStatisticsSupergroup()
      A detailed statistics about a supergroup chat.
    • ChatStatisticsSupergroup

      public ChatStatisticsSupergroup(TdApi.DateRange period, TdApi.StatisticalValue memberCount, TdApi.StatisticalValue messageCount, TdApi.StatisticalValue viewerCount, TdApi.StatisticalValue senderCount, TdApi.StatisticalGraph memberCountGraph, TdApi.StatisticalGraph joinGraph, TdApi.StatisticalGraph joinBySourceGraph, TdApi.StatisticalGraph languageGraph, TdApi.StatisticalGraph messageContentGraph, TdApi.StatisticalGraph actionGraph, TdApi.StatisticalGraph dayGraph, TdApi.StatisticalGraph weekGraph, TdApi.ChatStatisticsMessageSenderInfo[] topSenders, TdApi.ChatStatisticsAdministratorActionsInfo[] topAdministrators, TdApi.ChatStatisticsInviterInfo[] topInviters)
      A detailed statistics about a supergroup chat.
      Parameters:
      period - A period to which the statistics applies.
      memberCount - Number of members in the chat.
      messageCount - Number of messages sent to the chat.
      viewerCount - Number of users who viewed messages in the chat.
      senderCount - Number of users who sent messages to the chat.
      memberCountGraph - A graph containing number of members in the chat.
      joinGraph - A graph containing number of members joined and left the chat.
      joinBySourceGraph - A graph containing number of new member joins per source.
      languageGraph - A graph containing distribution of active users per language.
      messageContentGraph - A graph containing distribution of sent messages by content type.
      actionGraph - A graph containing number of different actions in the chat.
      dayGraph - A graph containing distribution of message views per hour.
      weekGraph - A graph containing distribution of message views per day of week.
      topSenders - List of users sent most messages in the last week.
      topAdministrators - List of most active administrators in the last week.
      topInviters - List of most active inviters of new members in the last week.
    • ChatStatisticsSupergroup

      public ChatStatisticsSupergroup(DataInput input) throws IOException
      A detailed statistics about a supergroup chat.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object