Update theme
themeDocumentNotModified#483d270c = Theme;
theme#f7d90ce0 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document installs_count:int = Theme;
---functions---
account.updateTheme#3b8ea202 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument = Theme;
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 |
Code | Type | Description |
---|---|---|
400 | THEME_INVALID | Invalid theme provided. |