account.Themes
- class pyrogram.raw.types.account.Themes
Installed themes
Constructor of
Themes.- Details:
Layer:
223ID:
9A3D8C6D
- Parameters:
hash (
int64-bit) – Hash used for caching, for more info click herethemes (List of
Theme) – Themes
- Functions:
This object can be returned by 2 functions.
Get installed themes
Get all available chat themes ».
TL Schema
account.themes#9a3d8c6d
hash:long
themes:Vector<Theme>
= account.Themes
Parameter Tree
Themes
├── hash →
long└── themes →
Vector < Theme >└──
Theme├── creator →
true (optional)├── default →
true (optional)├── for_chat →
true (optional)├── id →
long├── access_hash →
long├── slug →
string├── title →
string├── document →
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│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── settings →
Vector < ThemeSettings > (optional)│ └──
ThemeSettings│ ├── message_colors_animated →
true (optional)│ ├── base_theme →
BaseTheme│ │ ├──
BaseThemeClassic│ │ ├──
BaseThemeDay│ │ ├──
BaseThemeNight│ │ ├──
BaseThemeTinted│ │ └──
BaseThemeArctic│ ├── accent_color →
int│ ├── outbox_accent_color →
int (optional)│ ├── message_colors →
Vector < int > (optional)│ └── wallpaper →
WallPaper (optional)│ ├──
WallPaper│ └──
WallPaperNoFile├── emoticon →
string (optional)└── installs_count →
int (optional)Example
Themes(
hash=0,
themes=[
Theme(
id=0,
access_hash=0,
slug="text",
title="text"
)
],
)