stats.getStoryStats #

Get statistics for a certain story.

Layer 223

stats.storyStats#50cd067c views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.StoryStats;
---functions---
stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
darkflags.0?trueWhether to enable the dark theme for graph colors
peerInputPeerThe peer that posted the story
idintStory ID

Result #

stats.StoryStats

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400PEER_ID_INVALIDThe provided peer id is invalid.
400STORIES_NEVER_CREATEDThis peer hasn't ever posted any stories.

Channel statistics #

Telegram offers detailed channel statistics for channels and supergroups.

Telegram Stories #

Telegram users and channels can easily post and view stories through the API.