java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatStatistics
it.tdlight.jni.TdApi.ChatStatisticsChannel
- Enclosing class:
- TdApi
A detailed statistics about a channel chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.double
A percentage of users with enabled notifications for the chat; 0-100.A graph containing number of views of associated with the chat instant views.A graph containing number of new member joins per source.A graph containing number of members joined and left the chat.A graph containing number of users viewed chat messages per language.Mean number of times reactions were added to the recently sent messages.Mean number of times the recently sent messages were shared.Mean number of times the recently sent messages were viewed.Mean number of times reactions were added to the recently sent stories.Mean number of times the recently sent stories were shared.Mean number of times the recently sent stories were viewed.Number of members in the chat.A graph containing number of members in the chat.A graph containing number of chat message views and shares.A graph containing number of reactions on messages.A graph containing number of members muted and unmuted the chat.A period to which the statistics applies.Detailed statistics about number of views and shares of recently sent messages and stories.A graph containing number of story views and shares.A graph containing number of reactions on stories.A graph containing number of message views in a given hour in the last two weeks.A graph containing number of message views per source. -
Constructor Summary
ConstructorDescriptionA detailed statistics about a channel chat.ChatStatisticsChannel
(TdApi.DateRange period, TdApi.StatisticalValue memberCount, TdApi.StatisticalValue meanMessageViewCount, TdApi.StatisticalValue meanMessageShareCount, TdApi.StatisticalValue meanMessageReactionCount, TdApi.StatisticalValue meanStoryViewCount, TdApi.StatisticalValue meanStoryShareCount, TdApi.StatisticalValue meanStoryReactionCount, 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 messageReactionGraph, TdApi.StatisticalGraph storyInteractionGraph, TdApi.StatisticalGraph storyReactionGraph, TdApi.StatisticalGraph instantViewInteractionGraph, TdApi.ChatStatisticsInteractionInfo[] recentInteractions) A detailed statistics about a channel chat.ChatStatisticsChannel
(DataInput input) A detailed statistics about a channel chat. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
period
A period to which the statistics applies. -
memberCount
Number of members in the chat. -
meanMessageViewCount
Mean number of times the recently sent messages were viewed. -
meanMessageReactionCount
Mean number of times reactions were added to the recently sent messages. -
meanStoryViewCount
Mean number of times the recently sent stories were viewed. -
meanStoryReactionCount
Mean number of times reactions were added to the recently sent stories. -
enabledNotificationsPercentage
public double enabledNotificationsPercentageA percentage of users with enabled notifications for the chat; 0-100. -
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. -
messageReactionGraph
A graph containing number of reactions on messages. -
storyInteractionGraph
A graph containing number of story views and shares. -
storyReactionGraph
A graph containing number of reactions on stories. -
instantViewInteractionGraph
A graph containing number of views of associated with the chat instant views. -
recentInteractions
Detailed statistics about number of views and shares of recently sent messages and stories. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 meanMessageViewCount, TdApi.StatisticalValue meanMessageShareCount, TdApi.StatisticalValue meanMessageReactionCount, TdApi.StatisticalValue meanStoryViewCount, TdApi.StatisticalValue meanStoryShareCount, TdApi.StatisticalValue meanStoryReactionCount, 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 messageReactionGraph, TdApi.StatisticalGraph storyInteractionGraph, TdApi.StatisticalGraph storyReactionGraph, TdApi.StatisticalGraph instantViewInteractionGraph, TdApi.ChatStatisticsInteractionInfo[] recentInteractions) A detailed statistics about a channel chat.- Parameters:
period
- A period to which the statistics applies.memberCount
- Number of members in the chat.meanMessageViewCount
- Mean number of times the recently sent messages were viewed.meanMessageShareCount
- Mean number of times the recently sent messages were shared.meanMessageReactionCount
- Mean number of times reactions were added to the recently sent messages.meanStoryViewCount
- Mean number of times the recently sent stories were viewed.meanStoryShareCount
- Mean number of times the recently sent stories were shared.meanStoryReactionCount
- Mean number of times reactions were added to the recently sent stories.enabledNotificationsPercentage
- A percentage of users with enabled notifications for the chat; 0-100.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.messageReactionGraph
- A graph containing number of reactions on messages.storyInteractionGraph
- A graph containing number of story views and shares.storyReactionGraph
- A graph containing number of reactions on stories.instantViewInteractionGraph
- A graph containing number of views of associated with the chat instant views.recentInteractions
- Detailed statistics about number of views and shares of recently sent messages and stories.
-
ChatStatisticsChannel
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-