MegagroupStats

class pyrogram.raw.types.stats.MegagroupStats

Supergroup statistics.

Constructor type of MegagroupStats.

Details
  • Layer: 126

  • ID: 0xef7ff916

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 (piechart).

  • 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.

Methods

This object can be returned by 1 method:

stats.GetMegagroupStats

Get supergroup statistics.