stats.MegagroupStats#

class pyrogram.raw.types.stats.MegagroupStats#

Supergroup statistics.

Constructor of MegagroupStats.

Details:
  • Layer: 158

  • ID: EF7FF916

Parameters:
  • period (StatsDateRangeDays) – Period in consideration.

  • members (StatsAbsValueAndPrev) – Member count change for period in consideration.

  • messages (StatsAbsValueAndPrev) – Message number change for period in consideration.

  • viewers (StatsAbsValueAndPrev) – Number of users that viewed messages, for range in consideration.

  • posters (StatsAbsValueAndPrev) – Number of users that posted messages, for range in consideration.

  • growth_graph (StatsGraph) – Supergroup growth graph (absolute subscriber count).

  • members_graph (StatsGraph) – Members growth (relative subscriber count).

  • new_members_by_source_graph (StatsGraph) – New members by source graph.

  • languages_graph (StatsGraph) – Subscriber language graph (pie chart).

  • messages_graph (StatsGraph) – Message activity graph (stacked bar graph, message type).

  • actions_graph (StatsGraph) – Group activity graph (deleted, modified messages, blocked users).

  • top_hours_graph (StatsGraph) – Activity per hour graph (absolute).

  • weekdays_graph (StatsGraph) – Activity per day of week graph (absolute).

  • top_posters (List of StatsGroupTopPoster) – Info about most active group members.

  • top_admins (List of StatsGroupTopAdmin) – Info about most active group admins.

  • top_inviters (List of StatsGroupTopInviter) – Info about most active group inviters.

  • users (List of User) – Info about users mentioned in statistics.

Functions:

This object can be returned by 1 function.

stats.GetMegagroupStats

Get supergroup statistics.