account.saveTheme #
Save a theme¶
Layer 223
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool; Parameters #
| Name | Type | Description |
|---|---|---|
| theme | InputTheme | Theme to save |
| unsave | Bool | Unsave |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | THEME_INVALID | Invalid theme provided. |