account.uploadTheme
Upload theme
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
file | InputFile | Ja | [Previously uploaded](https://core.telegram.org/api/themes.md#uploading-theme-files) theme file with platform-specific colors for UI components, can be left unset when creating themes that only modify the wallpaper or accent colors. |
thumb | InputFile | Nein | Thumbnail |
file_name | string | Ja | File name |
mime_type | string | Ja | MIME type, must be `application/x-tgtheme-{format}`, where `format` depends on the client |
Antworten
Document
MTProto RPC
- 400 · THEME_FILE_INVALID – Ungültige Designdatei bereitgestellt.
- 400 · THEME_MIME_INVALID – Der Typ MIME des Themas ist ungültig.