save_theme()

async Client.save_theme()

Save or unsave a theme.

Usable by Users Bots
Parameters:
  • theme (InputTheme) – Theme to save or unsave.

  • unsave (bool, optional) – Whether to unsave the theme. Defaults to False.

Returns:

bool – On success, True is returned.