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
├── hashlong
└── themesVector < Theme >
└── Theme
├── creatortrue (optional)
├── defaulttrue (optional)
├── for_chattrue (optional)
├── idlong
├── access_hashlong
├── slugstring
├── titlestring
├── documentDocument (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
│ │ └── VideoSizeStickerMarkup
│ ├── dc_idint
│ └── attributesVector < DocumentAttribute >
├── settingsVector < ThemeSettings > (optional)
│ └── ThemeSettings
│ ├── message_colors_animatedtrue (optional)
│ ├── base_themeBaseTheme
│ │ ├── BaseThemeClassic
│ │ ├── BaseThemeDay
│ │ ├── BaseThemeNight
│ │ ├── BaseThemeTinted
│ │ └── BaseThemeArctic
│ ├── accent_colorint
│ ├── outbox_accent_colorint (optional)
│ ├── message_colorsVector < int > (optional)
│ └── wallpaperWallPaper (optional)
│ ├── WallPaper
│ └── WallPaperNoFile
├── emoticonstring (optional)
└── installs_countint (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
            )
        ],
)