account.createTheme
Create a theme
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
slug | string | أيوه | Unique theme ID used to generate [theme deep links](https://core.telegram.org/api/links.md#theme-links), can be empty to autogenerate a random ID. |
title | string | أيوه | اسم الموضوع |
document | InputDocument | لأ | Theme file |
settings | Vector<InputThemeSettings> | لأ | Theme settings, multiple values can be provided for the different base themes (day/night mode, etc). |
الردود
Theme
MTProto RPC
- 400 · THEME_MIME_INVALID — The theme's MIME type is invalid.
- 400 · THEME_TITLE_INVALID — The specified theme title is invalid.