UpdateTheme

class pyrogram.raw.functions.account.UpdateTheme

Update theme.

Details
  • Layer: 126

  • ID: 0x5cb367d5

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 (InputThemeSettings, optional) – Theme settings.

Returns

Theme – Cloud theme.