stats.GetBroadcastStats
- class pyrogram.raw.functions.stats.GetBroadcastStats
Get channel statistics
- Details:
Layer:
223ID:
AB42441A
- Parameters:
channel (
InputChannel) – The channeldark (
bool, optional) – Whether to enable dark theme for graph colors
- Returns:
TL Schema
stats.getBroadcastStats#ab42441a
flags:#
dark:flags.0?true
channel:InputChannel
= stats.BroadcastStats
Parameter Tree
GetBroadcastStats
├── dark →
true (optional)└── channel →
InputChannel├──
InputChannel│ ├── channel_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── channel_id →
longExample
await app.invoke(
GetBroadcastStats(
dark=None,
channel=await app.resolve_channel(chat_id),
)
)