stats.BroadcastStats#

class pyrogram.raw.types.stats.BroadcastStats#

Channel statistics.

Constructor of BroadcastStats.

Details:
  • Layer: 158

  • ID: BDF78394

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

  • followers (StatsAbsValueAndPrev) – Follower count change for period in consideration.

  • views_per_post (StatsAbsValueAndPrev) – total_viewcount/postcount, for posts posted during the period in consideration. Note that in this case, current refers to the period in consideration (min_date till max_date), and prev refers to the previous period ((min_date - (max_date - min_date)) till min_date).

  • shares_per_post (StatsAbsValueAndPrev) – total_sharecount/postcount, for posts posted during the period in consideration. Note that in this case, current refers to the period in consideration (min_date till max_date), and prev refers to the previous period ((min_date - (max_date - min_date)) till min_date).

  • enabled_notifications (StatsPercentValue) – Percentage of subscribers with enabled notifications.

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

  • followers_graph (StatsGraph) – Followers growth graph (relative subscriber count).

  • mute_graph (StatsGraph) – Muted users graph (relative).

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

  • interactions_graph (StatsGraph) – Interactions graph (absolute).

  • iv_interactions_graph (StatsGraph) – IV interactions graph (absolute).

  • views_by_source_graph (StatsGraph) – Views by source graph (absolute).

  • new_followers_by_source_graph (StatsGraph) – New followers by source graph (absolute).

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

  • recent_message_interactions (List of MessageInteractionCounters) – N/A

Functions:

This object can be returned by 1 function.

stats.GetBroadcastStats

Get channel statistics.