stats.StoryStats

class pyrogram.raw.base.stats.StoryStats

Contains statistics about a story.

Constructors:

This base type has 1 constructor available.

stats.StoryStats

Contains statistics about a story.

Functions:

This object can be returned by 1 function.

stats.GetStoryStats

Get statistics for a certain story.

TL Schema

stats.storyStats#50cd067c
views_graph:StatsGraph
reactions_by_emotion_graph:StatsGraph

= stats.StoryStats

Parameter Tree

StoryStats
├── views_graphStatsGraph
│ ├── StatsGraphAsync
│ │ └── tokenstring
│ ├── StatsGraphError
│ │ └── errorstring
│ └── StatsGraph
│ ├── jsonDataJSON
│ │ └── DataJSON
│ │ └── datastring
│ └── zoom_tokenstring (optional)
└── reactions_by_emotion_graphStatsGraph
├── StatsGraphAsync
│ └── tokenstring
├── StatsGraphError
│ └── errorstring
└── StatsGraph
├── jsonDataJSON
│ └── DataJSON
│ └── datastring
└── zoom_tokenstring (optional)

Example

StoryStats(
    views_graph=StatsGraphAsync(token="text"),
    reactions_by_emotion_graph=StatsGraphAsync(token="text"),
)