account.getTheme #

Get theme information

Layer 223

theme#a00e67d6 flags:# creator:flags.0?true default:flags.1?true for_chat:flags.5?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?Vector<ThemeSettings> emoticon:flags.6?string installs_count:flags.4?int = Theme;
---functions---
account.getTheme#3a5869ec format:string theme:InputTheme = Theme;

Parameters #

NameTypeDescription
formatstringTheme format, a string that identifies the theming engines supported by the client
themeInputThemeTheme

Result #

Theme

Only users can use this method #

Possible errors #

CodeTypeDescription
400THEME_FORMAT_INVALIDInvalid theme format provided.
400THEME_INVALIDInvalid theme provided.
400THEME_SLUG_INVALIDThe specified theme slug is invalid.