Layer 224
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

StoryAlbum

Gogram Example

// Creating StoryAlbumObj constructor
obj := &tg.StoryAlbumObj{
    AlbumId: 42,
    Title: "Hello, World!",

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