Theme

class pyrogram.raw.types.Theme

Theme

Constructor of Theme.

Details:
  • Layer: 187

  • ID: A00E67D6

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

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

  • slug (str) – Unique theme ID

  • title (str) – Theme name

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

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

  • for_chat (bool, optional) – Whether this theme is meant to be used as a chat theme

  • document (Document, optional) – Theme

  • settings (List of ThemeSettings, optional) – Theme settings

  • emoticon (str, optional) – Theme emoji

  • installs_count (int 32-bit, optional) – Installation count

Functions:

This object can be returned by 3 functions.

account.CreateTheme

Create a theme

account.UpdateTheme

Update theme

account.GetTheme

Get theme information