Machine-readable version of this page: //core.telegram.org/method/account.getTheme.md.
Get theme information
theme#28f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme;
---functions---
account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme;
| Name | Type | Description |
|---|---|---|
| format | string | Theme format, a string that identifies the theming engines supported by the client |
| theme | InputTheme | Theme |
| Code | Type | Description |
|---|---|---|
| 400 | THEME_FORMAT_INVALID | Invalid theme format provided. |
| 400 | THEME_INVALID | Invalid theme provided. |
| 400 | THEME_SLUG_INVALID | The specified theme slug is invalid. |