Theme

class pyrogram.raw.types.Theme

Theme.

Constructor type of Theme.

Details
  • Layer: 126

  • ID: 0x28f1114

Parameters
  • id (int 64-bit) – Theme ID.

  • access_hash (int 64-bit) – Theme access hash.

  • slug (str) – Unique theme ID.

  • title (str) – Theme name.

  • installs_count (int 32-bit) – Installation count.

  • creator (bool, optional) – Whether the current user is the creator of this theme.

  • default (bool, optional) – Whether this is the default theme.

  • document (Document, optional) – Theme.

  • settings (ThemeSettings, optional) – Theme settings.

Methods

This object can be returned by 3 methods:

account.CreateTheme

Create a theme.

account.UpdateTheme

Update theme.

account.GetTheme

Get theme information.