stats.getBroadcastStats

Get channel statistics

stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post: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 recent_message_interactions:Vector<MessageInteractionCounters> = stats.BroadcastStats;
---functions---
stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
dark flags.0?true Whether to enable dark theme for graph colors
channel InputChannel The channel

Result

stats.BroadcastStats

Possible errors

Code Type Description
400 BROADCAST_REQUIRED This method can only be called on a channel, please use stats.getMegagroupStats for supergroups.
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
403 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.

Related pages

Channel statistics

Telegram offers detailed channel statistics for channels and supergroups.