Layer 220
StoriesGetStoriesArchive
Fetch the story archive of a peer we control.
method
Users
stories.getStoriesArchive#b4352016 peer:InputPeer offset_id:int limit:int = stories.Stories;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer whose archived stories should be fetched |
| OffsetId | int | Offsets for pagination, for more info click here |
| Limit | int | Maximum number of results to return, see pagination |
Returns
stories.StoriesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// StoriesGetStoriesArchive - positional arguments result, err := client.StoriesGetStoriesArchive(&tg.InputPeerUser{UserID: int64(123456789)}, 0, 0) if err != nil { // handle error } // result is *tg.StoriesStories