Layer 227
StoryAlbumObj
Represents a story album.
constructor
storyAlbum#9325705a flags:# album_id:int title:string icon_photo:flags.0?Photo icon_video:flags.1?Document = StoryAlbum;
Parameters
| Name | Type | Description |
|---|---|---|
| AlbumId | int | ID of the album. |
| Title | string | Name of the album. |
| IconPhoto | flags .0? Photo | Photo from the first story of the album, if it's a photo. |
| IconVideo | flags .1? Document | Video from the first story of the album, if it's a video. |
Returns
StoryAlbumGogram Example
// Creating StoryAlbumObj constructor obj := &tg.StoryAlbumObj{ AlbumId: 42, Title: "Hello, World!", IconPhoto: nil, IconVideo: nil, }