stories.Albums

class pyrogram.raw.types.stories.Albums

Story albums ».

Constructor of Albums.

Details:
  • Layer: 223

  • ID: C3987A3A

Parameters:
  • hash (int 64-bit) – Hash to pass to stories.getAlbums to avoid returning any results if they haven’t changed.

  • albums (List of StoryAlbum) – The albums.

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"
            )
        ],
)