account.uploadTheme
Upload theme
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
file | InputFile | はい | [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 | いいえ | Thumbnail |
file_name | string | はい | File name |
mime_type | string | はい | MIME type, must be `application/x-tgtheme-{format}`, where `format` depends on the client |
レスポンス
Document
MTProto RPC
- 400 · THEME_FILE_INVALID — Invalid theme file provided.
- 400 · THEME_MIME_INVALID — The theme's MIME type is invalid.