Layer 227
method Users
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;

Parameters

Name Type Description
Dark flags .0? true Whether to enable dark theme for graph colors
Channel InputChannel Channel ID
MsgId int Message ID

Gogram Example

// StatsGetMessageStats - positional arguments
result, err := client.StatsGetMessageStats(nil, &tg.InputChannel{ChannelID: int64(1234567890), AccessHash: int64(5678901234567890)}, 42)
if err != nil {
    // handle error
}
// result is *tg.StatsMessageStats

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 MESSAGE_ID_INVALID The provided message id is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.