account.saveWallPaper #

Install/uninstall wallpaper

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool;

Parameters #

NameTypeDescription
wallpaperInputWallPaperWallpaper to install or uninstall
unsaveBoolUninstall wallpaper?
settingsWallPaperSettingsWallpaper settings

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400WALLPAPER_INVALIDThe specified wallpaper is invalid.

Chat wallpapers #

Telegram apps support generating, sharing and synchronizing chat backgrounds.