CreateTheme

class pyrogram.raw.functions.account.CreateTheme

Create a theme.

Details
  • Layer: 122

  • ID: 0x8432c21f

Parameters
  • slug (str) – Unique theme ID.

  • title (str) – Theme name.

  • document (InputDocument, optional) – Theme file.

  • settings (InputThemeSettings, optional) – Theme settings.

Returns

Theme – Cloud theme.