stats.BroadcastStats
- class pyrogram.raw.types.stats.BroadcastStats
Channel statistics.
Constructor of
BroadcastStats.- Details:
Layer:
223ID:
396CA5FC
- Parameters:
period (
StatsDateRangeDays) – Period in considerationfollowers (
StatsAbsValueAndPrev) – Follower count change for period in considerationviews_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)reactions_per_post (
StatsAbsValueAndPrev) – total_reactions/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)views_per_story (
StatsAbsValueAndPrev) – total_views/storycount, 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_story (
StatsAbsValueAndPrev) – total_shares/storycount, 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)reactions_per_story (
StatsAbsValueAndPrev) – total_reactions/storycount, 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 notificationsgrowth_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)reactions_by_emotion_graph (
StatsGraph) – A graph containing the number of reactions on posts categorized by emotionstory_interactions_graph (
StatsGraph) – A graph containing the number of story views and sharesstory_reactions_by_emotion_graph (
StatsGraph) – A graph containing the number of reactions on stories categorized by emotionrecent_posts_interactions (List of
PostInteractionCounters) – Detailed statistics about number of views and shares of recently sent messages and stories
- Functions:
This object can be returned by 1 function.
Get channel statistics
TL Schema
stats.broadcastStats#396ca5fc
period:StatsDateRangeDays
followers:StatsAbsValueAndPrev
views_per_post:StatsAbsValueAndPrev
shares_per_post:StatsAbsValueAndPrev
reactions_per_post:StatsAbsValueAndPrev
views_per_story:StatsAbsValueAndPrev
shares_per_story:StatsAbsValueAndPrev
reactions_per_story:StatsAbsValueAndPrev
enabled_notifications:StatsPercentValue
growth_graph:StatsGraph
followers_graph:StatsGraph
mute_graph:StatsGraph
top_hours_graph:StatsGraph
interactions_graph:StatsGraph
iv_interactions_graph:StatsGraph
views_by_source_graph:StatsGraph
new_followers_by_source_graph:StatsGraph
languages_graph:StatsGraph
reactions_by_emotion_graph:StatsGraph
story_interactions_graph:StatsGraph
story_reactions_by_emotion_graph:StatsGraph
recent_posts_interactions:Vector<PostInteractionCounters>
= stats.BroadcastStats
Parameter Tree
StatsDateRangeDaysStatsDateRangeDaysintintStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsAbsValueAndPrevStatsAbsValueAndPrevdoubledoubleStatsPercentValueStatsPercentValuedoubledoubleStatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)StatsGraphStatsGraphAsyncstringStatsGraphErrorstringStatsGraphDataJSONDataJSONstringstring (optional)Vector < PostInteractionCounters >intintintintintintintintExample
BroadcastStats(
period=StatsDateRangeDays(
min_date=0,
max_date=0
),
followers=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
views_per_post=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
shares_per_post=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
reactions_per_post=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
views_per_story=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
shares_per_story=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
reactions_per_story=StatsAbsValueAndPrev(
current=0.0,
previous=0.0
),
enabled_notifications=StatsPercentValue(
part=0.0,
total=0.0
),
growth_graph=StatsGraphAsync(token="text"),
followers_graph=StatsGraphAsync(token="text"),
mute_graph=StatsGraphAsync(token="text"),
top_hours_graph=StatsGraphAsync(token="text"),
interactions_graph=StatsGraphAsync(token="text"),
iv_interactions_graph=StatsGraphAsync(token="text"),
views_by_source_graph=StatsGraphAsync(token="text"),
new_followers_by_source_graph=StatsGraphAsync(token="text"),
languages_graph=StatsGraphAsync(token="text"),
reactions_by_emotion_graph=StatsGraphAsync(token="text"),
story_interactions_graph=StatsGraphAsync(token="text"),
story_reactions_by_emotion_graph=StatsGraphAsync(token="text"),
recent_posts_interactions=[
PostInteractionCountersMessage(
msg_id=0,
views=0,
forwards=0,
reactions=0
)
],
)