account.updateTheme

Update theme

 Method schema is available as of layer 107. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
format string Theme format, a string that identifies the theming engines supported by the client
theme InputTheme Theme to update
slug flags.0?string Unique theme ID
title flags.1?string Theme name
document flags.2?InputDocument Theme file
settings flags.3?Vector<InputThemeSettings> Theme settings

Result

Theme

Possible errors

Code Type Description
400 THEME_INVALID Invalid theme provided.