StoryAlbum
- class pyrogram.raw.base.StoryAlbum
Represents a story album ».
- Constructors:
This base type has 1 constructor available.
Represents a story album ».
- Functions:
This object can be returned by 2 functions.
Creates a story album.
Rename a story albums », or add, delete or reorder stories in it.
TL Schema
storyAlbum#9325705a
flags:#
album_id:int
title:string
icon_photo:flags.0?Photo
icon_video:flags.1?Document
= StoryAlbum
Parameter Tree
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│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├── video_sizes →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ ├── size →
int│ │ │ └── video_start_ts →
double (optional)│ │ ├──
VideoSizeEmojiMarkup│ │ │ ├── emoji_id →
long│ │ │ └── background_colors →
Vector < int >│ │ └──
VideoSizeStickerMarkup│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ ├── sticker_id →
long│ │ └── background_colors →
Vector < int >│ └── 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│ │ └── type →
string│ ├──
PhotoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── size →
int│ ├──
PhotoCachedSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── bytes →
bytes│ ├──
PhotoStrippedSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├──
PhotoSizeProgressive│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── sizes →
Vector < int >│ └──
PhotoPathSize│ ├── type →
string│ └── bytes →
bytes├── video_thumbs →
Vector < VideoSize > (optional)│ ├──
VideoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ ├── size →
int│ │ └── video_start_ts →
double (optional)│ ├──
VideoSizeEmojiMarkup│ │ ├── emoji_id →
long│ │ └── background_colors →
Vector < int >│ └──
VideoSizeStickerMarkup│ ├── stickerset →
InputStickerSet│ │ ├──
InputStickerSetEmpty│ │ ├──
InputStickerSetID│ │ ├──
InputStickerSetShortName│ │ ├──
InputStickerSetAnimatedEmoji│ │ ├──
InputStickerSetDice│ │ ├──
InputStickerSetPremiumGifts│ │ └──
InputStickerSetTonGifts│ ├── sticker_id →
long│ └── background_colors →
Vector < int >├── dc_id →
int└── attributes →
Vector < DocumentAttribute >│ ├── w →
int│ └── h →
int│ ├── mask →
true (optional)│ ├── alt →
string│ ├── stickerset →
InputStickerSet│ │ ├──
InputStickerSetEmpty│ │ ├──
InputStickerSetID│ │ ├──
InputStickerSetShortName│ │ ├──
InputStickerSetAnimatedEmoji│ │ ├──
InputStickerSetDice│ │ ├──
InputStickerSetPremiumGifts│ │ └──
InputStickerSetTonGifts│ └── mask_coords →
MaskCoords (optional)│ └──
MaskCoords│ ├── round_message →
true (optional)│ ├── supports_streaming →
true (optional)│ ├── nosound →
true (optional)│ ├── duration →
double│ ├── w →
int│ ├── h →
int│ ├── preload_prefix_size →
int (optional)│ ├── video_start_ts →
double (optional)│ └── video_codec →
string (optional)│ ├── voice →
true (optional)│ ├── duration →
int│ ├── title →
string (optional)│ ├── performer →
string (optional)│ └── waveform →
bytes (optional)│ └── file_name →
string├── free →
true (optional)├── text_color →
true (optional)├── alt →
string└── stickerset →
InputStickerSetExample
StoryAlbum(
album_id=0,
title="text",
icon_photo=PhotoEmpty(id=0),
icon_video=DocumentEmpty(id=0),
)