stats.GetMegagroupStats
- class pyrogram.raw.functions.stats.GetMegagroupStats
Get supergroup statistics
- Details:
Layer:
223ID:
DCDF8607
- Parameters:
channel (
InputChannel) – Supergroup IDdark (
bool, optional) – Whether to enable dark theme for graph colors
- Returns:
TL Schema
stats.getMegagroupStats#dcdf8607
flags:#
dark:flags.0?true
channel:InputChannel
= stats.MegagroupStats
Parameter Tree
GetMegagroupStats
├── 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(
GetMegagroupStats(
dark=None,
channel=await app.resolve_channel(chat_id),
)
)