stories.getPeerStories #
Fetch the full active story list of a specific peer.¶
Layer 223
stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;
---functions---
stories.getPeerStories#2c4ada50 peer:InputPeer = stories.PeerStories; Parameters #
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Peer whose stories should be fetched |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Related pages #
Telegram Stories #
Telegram users and channels can easily post and view stories through the API.¶