Layer 220
StoriesGetAlbums
Get story albums created by a peer.
method
Users
stories.getAlbums#25b3eac7 peer:InputPeer hash:long = stories.Albums;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The peer. |
| Hash | long | The hash from a previously returned stories. albums, to avoid returning any results if they haven't changed. |
Returns
stories.AlbumsPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// StoriesGetAlbums - positional arguments result, err := client.StoriesGetAlbums(&tg.InputPeerUser{UserID: int64(123456789)}, int64(0)) if err != nil { // handle error } // result is *tg.StoriesAlbums