update_theme()¶
- async Client.update_theme()¶
Update a theme.
Usable by Users Bots- 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– On success, the updated theme is returned.