InputThemeSettings

class pyrogram.raw.base.InputThemeSettings

Theme settings

Constructors:

This base type has 1 constructor available.

InputThemeSettings

Theme settings

TL Schema

inputThemeSettings#8fde504f
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?InputWallPaper
wallpaper_settings:flags.1?WallPaperSettings

= InputThemeSettings

Parameter Tree

InputThemeSettings
├── message_colors_animatedtrue (optional)
├── base_themeBaseTheme
│ ├── BaseThemeClassic
│ ├── BaseThemeDay
│ ├── BaseThemeNight
│ ├── BaseThemeTinted
│ └── BaseThemeArctic
├── accent_colorint
├── outbox_accent_colorint (optional)
├── message_colorsVector < int > (optional)
├── wallpaperInputWallPaper (optional)
│ ├── InputWallPaper
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputWallPaperSlug
│ │ └── slugstring
│ └── InputWallPaperNoFile
│ └── idlong
└── wallpaper_settingsWallPaperSettings (optional)
├── blurtrue (optional)
├── motiontrue (optional)
├── background_colorint (optional)
├── second_background_colorint (optional)
├── third_background_colorint (optional)
├── fourth_background_colorint (optional)
├── intensityint (optional)
├── rotationint (optional)
└── emoticonstring (optional)

Example

InputThemeSettings(
    message_colors_animated=None,
    base_theme=BaseThemeClassic(),
    accent_color=0,
    outbox_accent_color=0,
    message_colors=[0],
    wallpaper=InputWallPaper(
        id=0,
        access_hash=0
    ),
    wallpaper_settings=WallPaperSettings(
        blur=None,
        motion=None,
        background_color=None,
        second_background_color=None,
        third_background_color=None,
        fourth_background_color=None,
        intensity=None,
        rotation=None,
        emoticon=None
    ),
)