Machine-readable version of this page: //core.telegram.org/type/Theme.md.
Cloud 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.createTheme#2b7ffd7f slug:string title:string document:InputDocument = Theme;
account.updateTheme#3b8ea202 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument = Theme;
account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme;
| Constructor | Description |
|---|---|
| theme | Theme |
| Method | Description |
|---|---|
| account.createTheme | Create a theme |
| account.updateTheme | Update theme |
| account.getTheme | Get theme information |