UpdateTheme

class pyrogram.raw.types.UpdateTheme

A cloud theme was updated

Constructor of Update.

Details:
  • Layer: 227

  • ID: 8216FBA3

Parameters:

theme (Theme) – Theme

TL Schema

updateTheme#8216fba3
theme:Theme

= Update

Parameter Tree

UpdateTheme
└── theme → 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

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