stories.getAlbumStories
Get stories in a story album ».
func (c *Client) StoriesGetAlbumStories(ctx context.Context, request *StoriesGetAlbumStoriesRequest) (*StoriesStories, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.StoriesGetAlbumStories(ctx, &tg.StoriesGetAlbumStoriesRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // *StoriesStories
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPeerClass | yes | Peer where the album is posted. |
AlbumID | int | yes | ID of the album. |
Offset | int | yes | Offset for pagination. |
Limit | int | yes | Maximum number of results to return, see pagination |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
stories.getAlbumStories#ac806d61