# stats.messageStats

> Message statistics

[Back to constructors index](/API_docs/constructors/index.html)



Message statistics

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|views\_graph|[StatsGraph](/API_docs/types/StatsGraph.html) | Yes|Message view graph|
|reactions\_by\_emotion\_graph|[StatsGraph](/API_docs/types/StatsGraph.html) | Yes|A graph containing the number of reactions on stories categorized by emotion|



### Type: [stats.MessageStats](/API_docs/types/stats.MessageStats.html)


### Example:

```
$stats_messageStats = ['_' => 'stats.messageStats', 'views_graph' => StatsGraph, 'reactions_by_emotion_graph' => StatsGraph];
```
