Layer 220
constructor
storyAlbum#9325705a flags:# album_id:int title:string icon_photo:flags.0?Photo icon_video:flags.1?Document = StoryAlbum;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
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

StoryAlbum

Gogram Example

// Creating StoryAlbum constructor
obj := &tg.StoryAlbum{
    AlbumId: 0,
    Title: "...",

    // Optional fields:
    // IconPhoto: &tg.Photo{},
    // IconVideo: &tg.Document{},
}