stats.getMessageStats

Get message statistics

stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;
---functions---
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;

Parameters

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

Result

stats.MessageStats

Possible errors

Code Type Description
400 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.