List of all members | Public Fields | Public Instance Methods | Static Public Attributes
chatStatisticsChannel Class Referencefinal

Inherits ChatStatistics.

Description

A detailed statistics about a channel chat.

Public Fields

object_ptr< dateRangeperiod_
 A period to which the statistics applies.
 
object_ptr< statisticalValuemember_count_
 Number of members in the chat.
 
object_ptr< statisticalValuemean_message_view_count_
 Mean number of times the recently sent messages were viewed.
 
object_ptr< statisticalValuemean_message_share_count_
 Mean number of times the recently sent messages were shared.
 
object_ptr< statisticalValuemean_message_reaction_count_
 Mean number of times reactions were added to the recently sent messages.
 
object_ptr< statisticalValuemean_story_view_count_
 Mean number of times the recently sent stories were viewed.
 
object_ptr< statisticalValuemean_story_share_count_
 Mean number of times the recently sent stories were shared.
 
object_ptr< statisticalValuemean_story_reaction_count_
 Mean number of times reactions were added to the recently sent stories.
 
double enabled_notifications_percentage_
 A percentage of users with enabled notifications for the chat; 0-100.
 
object_ptr< StatisticalGraphmember_count_graph_
 A graph containing number of members in the chat.
 
object_ptr< StatisticalGraphjoin_graph_
 A graph containing number of members joined and left the chat.
 
object_ptr< StatisticalGraphmute_graph_
 A graph containing number of members muted and unmuted the chat.
 
object_ptr< StatisticalGraphview_count_by_hour_graph_
 A graph containing number of message views in a given hour in the last two weeks.
 
object_ptr< StatisticalGraphview_count_by_source_graph_
 A graph containing number of message views per source.
 
object_ptr< StatisticalGraphjoin_by_source_graph_
 A graph containing number of new member joins per source.
 
object_ptr< StatisticalGraphlanguage_graph_
 A graph containing number of users viewed chat messages per language.
 
object_ptr< StatisticalGraphmessage_interaction_graph_
 A graph containing number of chat message views and shares.
 
object_ptr< StatisticalGraphmessage_reaction_graph_
 A graph containing number of reactions on messages.
 
object_ptr< StatisticalGraphstory_interaction_graph_
 A graph containing number of story views and shares.
 
object_ptr< StatisticalGraphstory_reaction_graph_
 A graph containing number of reactions on stories.
 
object_ptr< StatisticalGraphinstant_view_interaction_graph_
 A graph containing number of views of associated with the chat instant views.
 
array< object_ptr< chatStatisticsInteractionInfo > > recent_interactions_
 Detailed statistics about number of views and shares of recently sent messages and stories.
 

Public Instance Methods

 chatStatisticsChannel ()
 
 chatStatisticsChannel (object_ptr< dateRange > &&period_, object_ptr< statisticalValue > &&member_count_, object_ptr< statisticalValue > &&mean_message_view_count_, object_ptr< statisticalValue > &&mean_message_share_count_, object_ptr< statisticalValue > &&mean_message_reaction_count_, object_ptr< statisticalValue > &&mean_story_view_count_, object_ptr< statisticalValue > &&mean_story_share_count_, object_ptr< statisticalValue > &&mean_story_reaction_count_, double enabled_notifications_percentage_, object_ptr< StatisticalGraph > &&member_count_graph_, object_ptr< StatisticalGraph > &&join_graph_, object_ptr< StatisticalGraph > &&mute_graph_, object_ptr< StatisticalGraph > &&view_count_by_hour_graph_, object_ptr< StatisticalGraph > &&view_count_by_source_graph_, object_ptr< StatisticalGraph > &&join_by_source_graph_, object_ptr< StatisticalGraph > &&language_graph_, object_ptr< StatisticalGraph > &&message_interaction_graph_, object_ptr< StatisticalGraph > &&message_reaction_graph_, object_ptr< StatisticalGraph > &&story_interaction_graph_, object_ptr< StatisticalGraph > &&story_reaction_graph_, object_ptr< StatisticalGraph > &&instant_view_interaction_graph_, array< object_ptr< chatStatisticsInteractionInfo >> &&recent_interactions_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -1375151660
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ chatStatisticsChannel() [1/2]

A detailed statistics about a channel chat.

◆ chatStatisticsChannel() [2/2]

chatStatisticsChannel ( object_ptr< dateRange > &&  period_,
object_ptr< statisticalValue > &&  member_count_,
object_ptr< statisticalValue > &&  mean_message_view_count_,
object_ptr< statisticalValue > &&  mean_message_share_count_,
object_ptr< statisticalValue > &&  mean_message_reaction_count_,
object_ptr< statisticalValue > &&  mean_story_view_count_,
object_ptr< statisticalValue > &&  mean_story_share_count_,
object_ptr< statisticalValue > &&  mean_story_reaction_count_,
double  enabled_notifications_percentage_,
object_ptr< StatisticalGraph > &&  member_count_graph_,
object_ptr< StatisticalGraph > &&  join_graph_,
object_ptr< StatisticalGraph > &&  mute_graph_,
object_ptr< StatisticalGraph > &&  view_count_by_hour_graph_,
object_ptr< StatisticalGraph > &&  view_count_by_source_graph_,
object_ptr< StatisticalGraph > &&  join_by_source_graph_,
object_ptr< StatisticalGraph > &&  language_graph_,
object_ptr< StatisticalGraph > &&  message_interaction_graph_,
object_ptr< StatisticalGraph > &&  message_reaction_graph_,
object_ptr< StatisticalGraph > &&  story_interaction_graph_,
object_ptr< StatisticalGraph > &&  story_reaction_graph_,
object_ptr< StatisticalGraph > &&  instant_view_interaction_graph_,
array< object_ptr< chatStatisticsInteractionInfo >> &&  recent_interactions_ 
)

A detailed statistics about a channel chat.

Parameters
[in]period_A period to which the statistics applies.
[in]member_count_Number of members in the chat.
[in]mean_message_view_count_Mean number of times the recently sent messages were viewed.
[in]mean_message_share_count_Mean number of times the recently sent messages were shared.
[in]mean_message_reaction_count_Mean number of times reactions were added to the recently sent messages.
[in]mean_story_view_count_Mean number of times the recently sent stories were viewed.
[in]mean_story_share_count_Mean number of times the recently sent stories were shared.
[in]mean_story_reaction_count_Mean number of times reactions were added to the recently sent stories.
[in]enabled_notifications_percentage_A percentage of users with enabled notifications for the chat; 0-100.
[in]member_count_graph_A graph containing number of members in the chat.
[in]join_graph_A graph containing number of members joined and left the chat.
[in]mute_graph_A graph containing number of members muted and unmuted the chat.
[in]view_count_by_hour_graph_A graph containing number of message views in a given hour in the last two weeks.
[in]view_count_by_source_graph_A graph containing number of message views per source.
[in]join_by_source_graph_A graph containing number of new member joins per source.
[in]language_graph_A graph containing number of users viewed chat messages per language.
[in]message_interaction_graph_A graph containing number of chat message views and shares.
[in]message_reaction_graph_A graph containing number of reactions on messages.
[in]story_interaction_graph_A graph containing number of story views and shares.
[in]story_reaction_graph_A graph containing number of reactions on stories.
[in]instant_view_interaction_graph_A graph containing number of views of associated with the chat instant views.
[in]recent_interactions_Detailed statistics about number of views and shares of recently sent messages and stories.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: