mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
stats.storyStats | Contains statistics about a story. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/stats_storyStats.html |
Constructor: stats.storyStats
Contains statistics about a story.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
views_graph | StatsGraph | Yes | A graph containing the number of story views and shares |
reactions_by_emotion_graph | StatsGraph | Yes | A bar graph containing the number of story reactions categorized by "emotion" (i.e. Positive, Negative, Other, etc...) |
Type: stats.StoryStats
Example:
$stats_storyStats = ['_' => 'stats.storyStats', 'views_graph' => StatsGraph, 'reactions_by_emotion_graph' => StatsGraph];