stories.Albums

class pyrogram.raw.base.stories.Albums

Represents a list of story albums ».

Constructors:

This base type has 2 constructors available.

stories.Albums

Story albums ».

stories.AlbumsNotModified

The story album list » hasn't changed.

Functions:

This object can be returned by 1 function.

stories.GetAlbums

Get story albums created by a peer.

TL Schema

stories.albums#c3987a3a
hash:long
albums:Vector<StoryAlbum>

= stories.Albums

Parameter Tree

Albums
├── hashlong
└── albumsVector < StoryAlbum >
└── StoryAlbum
├── album_idint
├── titlestring
├── icon_photoPhoto (optional)
│ ├── PhotoEmpty
│ │ └── idlong
│ └── Photo
│ ├── has_stickerstrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── sizesVector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_sizesVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ └── dc_idint
└── icon_videoDocument (optional)
├── DocumentEmpty
│ └── idlong
└── Document
├── idlong
├── access_hashlong
├── file_referencebytes
├── dateint
├── mime_typestring
├── sizelong
├── thumbsVector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ ├── PhotoSize
│ ├── PhotoCachedSize
│ ├── PhotoStrippedSize
│ ├── PhotoSizeProgressive
│ └── PhotoPathSize
├── video_thumbsVector < VideoSize > (optional)
│ ├── VideoSize
│ ├── VideoSizeEmojiMarkup
├── dc_idint
└── attributesVector < DocumentAttribute >

Example

Albums(
    hash=0,
    albums=[
            StoryAlbum(
                album_id=0,
                title="text",
                icon_photo=None,
                icon_video=None
            )
        ],
)