stats.GetMessageStats
- class pyrogram.raw.functions.stats.GetMessageStats
Get message statistics
- Details:
Layer:
223ID:
B6E0A3F5
- Parameters:
channel (
InputChannel) – Channel IDmsg_id (
int32-bit) – Message IDdark (
bool, optional) – Whether to enable dark theme for graph colors
- Returns:
TL Schema
stats.getMessageStats#b6e0a3f5
flags:#
dark:flags.0?true
channel:InputChannel
msg_id:int
= stats.MessageStats
Parameter Tree
GetMessageStats
├── dark →
true (optional)├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── msg_id →
intExample
await app.invoke(
GetMessageStats(
dark=None,
channel=await app.resolve_channel(chat_id),
msg_id=0,
)
)