Link Search Menu Expand Document

Constructor: stats.messageStats

Back to constructors index

Message statistics

Attributes:

NameTypeRequiredDescription
views_graphStatsGraphYesMessage view graph
reactions_by_emotion_graphStatsGraphYesA graph containing the number of reactions on stories categorized by emotion

Type: stats.MessageStats

Example:

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