Layer 220
StoriesCreateAlbum
Creates a story album.
method
Users
stories.createAlbum#a36396e5 peer:InputPeer title:string stories:Vector<int> = StoryAlbum;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The owned peer where to create the album. |
| Title | string | Album name. |
| Stories | Vector<int> | Stories to add to the album. |
Returns
StoryAlbumPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// StoriesCreateAlbum - positional arguments result, err := client.StoriesCreateAlbum(&tg.InputPeerUser{UserID: int64(123456789)}, "...", []int{}) if err != nil { // handle error } // result is *tg.StoryAlbum