ThemeSettings
- class pyrogram.raw.base.ThemeSettings
Theme settings
- Constructors:
This base type has 1 constructor available.
Theme settings
TL Schema
themeSettings#fa58b6d4
flags:#
message_colors_animated:flags.2?true
base_theme:BaseTheme
accent_color:int
outbox_accent_color:flags.3?int
message_colors:flags.0?Vector<int>
wallpaper:flags.1?WallPaper
= ThemeSettings
Parameter Tree
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│ ├── id →
long│ ├── creator →
true (optional)│ ├── default →
true (optional)│ ├── pattern →
true (optional)│ ├── dark →
true (optional)│ ├── access_hash →
long│ ├── slug →
string│ ├── document →
Document│ │ ├──
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 >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ └── settings →
WallPaperSettings (optional)│ └──
WallPaperSettings│ ├── blur →
true (optional)│ ├── motion →
true (optional)│ ├── background_color →
int (optional)│ ├── second_background_color →
int (optional)│ ├── third_background_color →
int (optional)│ ├── fourth_background_color →
int (optional)│ ├── intensity →
int (optional)│ ├── rotation →
int (optional)│ └── emoticon →
string (optional)└──
WallPaperNoFile├── id →
long├── default →
true (optional)├── dark →
true (optional)└── settings →
WallPaperSettings (optional)├── blur →
true (optional)├── motion →
true (optional)├── background_color →
int (optional)├── second_background_color →
int (optional)├── third_background_color →
int (optional)├── fourth_background_color →
int (optional)├── intensity →
int (optional)├── rotation →
int (optional)└── emoticon →
string (optional)Example
ThemeSettings(
message_colors_animated=None,
base_theme=BaseThemeClassic(),
accent_color=0,
outbox_accent_color=0,
message_colors=[0],
wallpaper=WallPaper(
id=0,
creator=None,
default=None,
pattern=None,
dark=None,
access_hash=0,
slug="text",
document=DocumentEmpty(id=0),
settings=None
),
)