account.UpdateTheme#

class pyrogram.raw.functions.account.UpdateTheme#

Update theme.

Details:
  • Layer: 158

  • ID: 2BF40CCC

Parameters:
  • format (str) – Theme format, a string that identifies the theming engines supported by the client.

  • theme (InputTheme) – Theme to update.

  • slug (str, optional) – Unique theme ID.

  • title (str, optional) – Theme name.

  • document (InputDocument, optional) – Theme file.

  • settings (List of InputThemeSettings, optional) – Theme settings.

Returns:

Theme