Layer 220
method Users
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

Returns

Bool

Possible Errors

Code Type Description
400 WALLPAPER_INVALID The specified wallpaper is invalid.

Gogram Example

// AccountSaveWallPaper - positional arguments
result, err := client.AccountSaveWallPaper(&tg.InputWallPaper{}, true, &tg.WallPaperSettings{})
if err != nil {
    // handle error
}
// result is *tg.Bool