get_message_stats()¶
- async Client.get_message_stats()¶
Get message statistics.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target channel.message_id (
int) – Message ID.dark (
bool, optional) – Whether to enable dark theme for graph colors.
- Returns:
MessageStats– The message statistics.
Example
stats = await app.get_message_stats(chat_id, message_id)