TDLib
Loading...
Searching...
No Matches
td::td_api::chatStatisticsSupergroup Class Referencefinal

Inherits td::td_api::ChatStatistics.

Public Member Functions

 chatStatisticsSupergroup ()
 
 chatStatisticsSupergroup (object_ptr< dateRange > &&period_, object_ptr< statisticalValue > &&member_count_, object_ptr< statisticalValue > &&message_count_, object_ptr< statisticalValue > &&viewer_count_, object_ptr< statisticalValue > &&sender_count_, object_ptr< StatisticalGraph > &&member_count_graph_, object_ptr< StatisticalGraph > &&join_graph_, object_ptr< StatisticalGraph > &&join_by_source_graph_, object_ptr< StatisticalGraph > &&language_graph_, object_ptr< StatisticalGraph > &&message_content_graph_, object_ptr< StatisticalGraph > &&action_graph_, object_ptr< StatisticalGraph > &&day_graph_, object_ptr< StatisticalGraph > &&week_graph_, array< object_ptr< chatStatisticsMessageSenderInfo > > &&top_senders_, array< object_ptr< chatStatisticsAdministratorActionsInfo > > &&top_administrators_, array< object_ptr< chatStatisticsInviterInfo > > &&top_inviters_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::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
 

Public Attributes

object_ptr< dateRangeperiod_
 A period to which the statistics applies.
 
object_ptr< statisticalValuemember_count_
 Number of members in the chat.
 
object_ptr< statisticalValuemessage_count_
 Number of messages sent to the chat.
 
object_ptr< statisticalValueviewer_count_
 Number of users who viewed messages in the chat.
 
object_ptr< statisticalValuesender_count_
 Number of users who sent messages to the chat.
 
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< StatisticalGraphjoin_by_source_graph_
 A graph containing number of new member joins per source.
 
object_ptr< StatisticalGraphlanguage_graph_
 A graph containing distribution of active users per language.
 
object_ptr< StatisticalGraphmessage_content_graph_
 A graph containing distribution of sent messages by content type.
 
object_ptr< StatisticalGraphaction_graph_
 A graph containing number of different actions in the chat.
 
object_ptr< StatisticalGraphday_graph_
 A graph containing distribution of message views per hour.
 
object_ptr< StatisticalGraphweek_graph_
 A graph containing distribution of message views per day of week.
 
array< object_ptr< chatStatisticsMessageSenderInfo > > top_senders_
 List of users sent most messages in the last week.
 
array< object_ptr< chatStatisticsAdministratorActionsInfo > > top_administrators_
 List of most active administrators in the last week.
 
array< object_ptr< chatStatisticsInviterInfo > > top_inviters_
 List of most active inviters of new members in the last week.
 

Static Public Attributes

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

Detailed Description

A detailed statistics about a supergroup chat.

Constructor & Destructor Documentation

◆ chatStatisticsSupergroup() [1/2]

td::td_api::chatStatisticsSupergroup::chatStatisticsSupergroup ( )

A detailed statistics about a supergroup chat.

◆ chatStatisticsSupergroup() [2/2]

td::td_api::chatStatisticsSupergroup::chatStatisticsSupergroup ( object_ptr< dateRange > &&  period_,
object_ptr< statisticalValue > &&  member_count_,
object_ptr< statisticalValue > &&  message_count_,
object_ptr< statisticalValue > &&  viewer_count_,
object_ptr< statisticalValue > &&  sender_count_,
object_ptr< StatisticalGraph > &&  member_count_graph_,
object_ptr< StatisticalGraph > &&  join_graph_,
object_ptr< StatisticalGraph > &&  join_by_source_graph_,
object_ptr< StatisticalGraph > &&  language_graph_,
object_ptr< StatisticalGraph > &&  message_content_graph_,
object_ptr< StatisticalGraph > &&  action_graph_,
object_ptr< StatisticalGraph > &&  day_graph_,
object_ptr< StatisticalGraph > &&  week_graph_,
array< object_ptr< chatStatisticsMessageSenderInfo > > &&  top_senders_,
array< object_ptr< chatStatisticsAdministratorActionsInfo > > &&  top_administrators_,
array< object_ptr< chatStatisticsInviterInfo > > &&  top_inviters_ 
)

A detailed statistics about a supergroup chat.

Parameters
[in]period_A period to which the statistics applies.
[in]member_count_Number of members in the chat.
[in]message_count_Number of messages sent to the chat.
[in]viewer_count_Number of users who viewed messages in the chat.
[in]sender_count_Number of users who sent messages to the chat.
[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]join_by_source_graph_A graph containing number of new member joins per source.
[in]language_graph_A graph containing distribution of active users per language.
[in]message_content_graph_A graph containing distribution of sent messages by content type.
[in]action_graph_A graph containing number of different actions in the chat.
[in]day_graph_A graph containing distribution of message views per hour.
[in]week_graph_A graph containing distribution of message views per day of week.
[in]top_senders_List of users sent most messages in the last week.
[in]top_administrators_List of most active administrators in the last week.
[in]top_inviters_List of most active inviters of new members in the last week.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::chatStatisticsSupergroup::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::chatStatisticsSupergroup::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 td::TlObject.


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