account.saveWallPaper

Install/uninstall wallpaper

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

Parameters

Name Type Description
wallpaper InputWallPaper Wallpaper to install or uninstall
unsave Bool Uninstall wallpaper?
settings WallPaperSettings Wallpaper settings

Result

Bool

Possible errors

Code Type Description
400 WALLPAPER_INVALID The specified wallpaper is invalid.

Related pages

Wallpapers

Telegram apps support generating, sharing and synchronizing chat backgrounds.