Theme#

class pyrogram.raw.types.Theme#

Telegram API type.

Constructor of Theme.

Details:
  • Layer: 224

  • ID: A00E67D6

Parameters:
  • id (int 64-bit) – N/A

  • access_hash (int 64-bit) – N/A

  • slug (str) – N/A

  • title (str) – N/A

  • creator (bool, optional) – N/A

  • default (bool, optional) – N/A

  • for_chat (bool, optional) – N/A

  • document (Document, optional) – N/A

  • settings (List of ThemeSettings, optional) – N/A

  • emoticon (str, optional) – N/A

  • installs_count (int 32-bit, optional) – N/A

Functions:

This object can be returned by 3 functions.

account.CreateTheme

Create a theme

account.UpdateTheme

Update theme

account.GetTheme

Get theme information