Layer 220
method Users
account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool;

Parameters

Name Type Description
Wallpaper InputWallPaper Wallpaper to install
Settings WallPaperSettings Wallpaper settings

Returns

Bool

Possible Errors

Code Type Description
400 WALLPAPER_INVALID The specified wallpaper is invalid.

Gogram Example

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