account.uploadWallPaper
Erstellen Sie ein neues Hintergrundbild und laden Sie es hoch
Erstellen Sie ein neues [Hintergrundbild](https://core.telegram.org/api/wallpapers.md)] und laden Sie es hoch.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
for_chat | true | Nein | Set this flag when uploading wallpapers to be passed to [messages.setChatWallPaper](https://core.telegram.org/method/messages.setChatWallPaper.md). |
file | InputFile | Ja | The JPG/PNG wallpaper |
mime_type | string | Ja | MIME type of uploaded wallpaper |
settings | WallPaperSettings | Ja | Wallpaper settings |
Antworten
WallPaper
MTProto RPC
- 400 · WALLPAPER_FILE_INVALID – Die angegebene Hintergrunddatei ist ungültig.
- 400 · WALLPAPER_MIME_INVALID – Der angegebene Hintergrundbildtyp MIME ist ungültig.