account.uploadWallPaper
Create and upload a new wallpaper
Create and upload a new [wallpaper](https://core.telegram.org/api/wallpapers.md)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
for_chat | true | لأ | Set this flag when uploading wallpapers to be passed to [messages.setChatWallPaper](https://core.telegram.org/method/messages.setChatWallPaper.md). |
file | InputFile | أيوه | The JPG/PNG wallpaper |
mime_type | string | أيوه | MIME type of uploaded wallpaper |
settings | WallPaperSettings | أيوه | Wallpaper settings |
الردود
WallPaper
MTProto RPC
- 400 · WALLPAPER_FILE_INVALID — The specified wallpaper file is invalid.
- 400 · WALLPAPER_MIME_INVALID — The specified wallpaper MIME type is invalid.