Layer 220
StoriesGetAlbumStories
Get stories in a story album.
method
Users
stories.getAlbumStories#ac806d61 peer:InputPeer album_id:int offset:int limit:int = stories.Stories;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer where the album is posted. |
| AlbumId | int | ID of the album. |
| Offset | int | Offset for pagination. |
| Limit | int | Maximum number of results to return, see pagination |
Returns
stories.StoriesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// StoriesGetAlbumStories - positional arguments result, err := client.StoriesGetAlbumStories(&tg.InputPeerUser{UserID: int64(123456789)}, 0, 0, 0) if err != nil { // handle error } // result is *tg.StoriesStories