Get statistics for a certain story.
 Method schema is available as of layer 167. Switch ยป
| Name | Type | Description | 
|---|---|---|
| flags | # | Flags, see TL conditional fields | 
| dark | flags.0?true | Whether to enable the dark theme for graph colors | 
| peer | InputPeer | The peer that posted the story | 
| id | int | Story ID | 
| Code | Type | Description | 
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. | 
| 400 | STORIES_NEVER_CREATED | This peer hasn't ever posted any stories. | 
Telegram offers detailed channel statistics for channels and supergroups.
Telegram users and channels can easily post and view stories through the API.