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
├── hash → long
└── albums → Vector < StoryAlbum >
└── StoryAlbum
├── album_id → int
├── title → string
├── icon_photo → Photo (optional)
│ ├── PhotoEmpty
│ │ └── id → long
│ └── Photo
│ ├── has_stickers → true (optional)
│ ├── id → long
│ ├── access_hash → long
│ ├── file_reference → bytes
│ ├── date → int
│ ├── sizes → Vector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_sizes → Vector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ └── dc_id → int
└── icon_video → Document (optional)
├── DocumentEmpty
│ └── id → long
└── Document
├── id → long
├── access_hash → long
├── file_reference → bytes
├── date → int
├── mime_type → string
├── size → long
├── thumbs → Vector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ ├── PhotoSize
│ ├── PhotoCachedSize
│ ├── PhotoStrippedSize
│ ├── PhotoSizeProgressive
│ └── PhotoPathSize
├── video_thumbs → Vector < VideoSize > (optional)
│ ├── VideoSize
│ ├── VideoSizeEmojiMarkup
├── dc_id → int
└── attributes → Vector < DocumentAttribute >

Example

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