Module tdlight.api

Class TdApi.ChatStatisticsChannel

Enclosing class:
TdApi

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

    • period

      public TdApi.DateRange period
      A period to which the statistics applies.
    • memberCount

      public TdApi.StatisticalValue memberCount
      Number of members in the chat.
    • meanViewCount

      public TdApi.StatisticalValue meanViewCount
      Mean number of times the recently sent messages was viewed.
    • meanShareCount

      public TdApi.StatisticalValue meanShareCount
      Mean number of times the recently sent messages was shared.
    • enabledNotificationsPercentage

      public double enabledNotificationsPercentage
      A percentage of users with enabled notifications for the chat.
    • memberCountGraph

      public TdApi.StatisticalGraph memberCountGraph
      A graph containing number of members in the chat.
    • joinGraph

      public TdApi.StatisticalGraph joinGraph
      A graph containing number of members joined and left the chat.
    • muteGraph

      public TdApi.StatisticalGraph muteGraph
      A graph containing number of members muted and unmuted the chat.
    • viewCountByHourGraph

      public TdApi.StatisticalGraph viewCountByHourGraph
      A graph containing number of message views in a given hour in the last two weeks.
    • viewCountBySourceGraph

      public TdApi.StatisticalGraph viewCountBySourceGraph
      A graph containing number of message views per source.
    • joinBySourceGraph

      public TdApi.StatisticalGraph joinBySourceGraph
      A graph containing number of new member joins per source.
    • languageGraph

      public TdApi.StatisticalGraph languageGraph
      A graph containing number of users viewed chat messages per language.
    • messageInteractionGraph

      public TdApi.StatisticalGraph messageInteractionGraph
      A graph containing number of chat message views and shares.
    • instantViewInteractionGraph

      public TdApi.StatisticalGraph instantViewInteractionGraph
      A graph containing number of views of associated with the chat instant views.
    • recentMessageInteractions

      public TdApi.ChatStatisticsMessageInteractionInfo[] recentMessageInteractions
      Detailed statistics about number of views and shares of recently sent messages.
    • CONSTRUCTOR

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

    • ChatStatisticsChannel

      public ChatStatisticsChannel()
      A detailed statistics about a channel chat.
    • ChatStatisticsChannel

      public ChatStatisticsChannel(TdApi.DateRange period, TdApi.StatisticalValue memberCount, TdApi.StatisticalValue meanViewCount, TdApi.StatisticalValue meanShareCount, double enabledNotificationsPercentage, TdApi.StatisticalGraph memberCountGraph, TdApi.StatisticalGraph joinGraph, TdApi.StatisticalGraph muteGraph, TdApi.StatisticalGraph viewCountByHourGraph, TdApi.StatisticalGraph viewCountBySourceGraph, TdApi.StatisticalGraph joinBySourceGraph, TdApi.StatisticalGraph languageGraph, TdApi.StatisticalGraph messageInteractionGraph, TdApi.StatisticalGraph instantViewInteractionGraph, TdApi.ChatStatisticsMessageInteractionInfo[] recentMessageInteractions)
      A detailed statistics about a channel chat.
      Parameters:
      period - A period to which the statistics applies.
      memberCount - Number of members in the chat.
      meanViewCount - Mean number of times the recently sent messages was viewed.
      meanShareCount - Mean number of times the recently sent messages was shared.
      enabledNotificationsPercentage - A percentage of users with enabled notifications for the chat.
      memberCountGraph - A graph containing number of members in the chat.
      joinGraph - A graph containing number of members joined and left the chat.
      muteGraph - A graph containing number of members muted and unmuted the chat.
      viewCountByHourGraph - A graph containing number of message views in a given hour in the last two weeks.
      viewCountBySourceGraph - A graph containing number of message views per source.
      joinBySourceGraph - A graph containing number of new member joins per source.
      languageGraph - A graph containing number of users viewed chat messages per language.
      messageInteractionGraph - A graph containing number of chat message views and shares.
      instantViewInteractionGraph - A graph containing number of views of associated with the chat instant views.
      recentMessageInteractions - Detailed statistics about number of views and shares of recently sent messages.
    • ChatStatisticsChannel

      public ChatStatisticsChannel(DataInput input) throws IOException
      A detailed statistics about a channel 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