account.Themes

class pyrogram.raw.base.account.Themes

Installed themes

Constructors:

This base type has 2 constructors available.

account.Themes

Installed themes

account.ThemesNotModified

No new themes were installed

Functions:

This object can be returned by 2 functions.

account.GetThemes

Get installed themes

account.GetChatThemes

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 >
├── 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(
                creator=None,
                default=None,
                for_chat=None,
                id=0,
                access_hash=0,
                slug="text",
                title="text",
                document=None,
                settings=None,
                emoticon=None,
                installs_count=None
            )
        ],
)