UpdateTheme

class pyrogram.raw.types.UpdateTheme

A cloud theme was updated

Constructor of Update.

Details:
  • Layer: 223

  • ID: 8216FBA3

Parameters:

theme (Theme) – Theme

TL Schema

updateTheme#8216fba3
theme:Theme

= Update

Parameter Tree

UpdateTheme
└── themeTheme
└── 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

UpdateTheme(
    theme=Theme(
        id=0,
        access_hash=0,
        slug="text",
        title="text"
    ),
)