install_theme()

async Client.install_theme()

Install a theme.

Usable by Users Bots
Parameters:
  • dark (bool, optional) – Whether to install the dark version.

  • theme (InputTheme, optional) – Theme to install.

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

  • base_theme (BaseTheme, optional) – Indicates a basic theme provided by all clients.

Returns:

bool – On success, True is returned.