Skip to main content

account.getWallPaper

Get info about a certain wallpaper

func (c *Client) AccountGetWallPaper(ctx context.Context, wallpaper InputWallPaperClass) (WallPaperClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.AccountGetWallPaper(ctx, wallpaper)
if err != nil {
return err
}
_ = res // WallPaperClass
return nil
})

Parameters

NameTypeRequiredDescription
WallpaperInputWallPaperClassyesThe wallpaper to get info about

Returns

WallPaperClass

Possible errors

CodeTypeDescription
400WALLPAPER_INVALIDThe specified wallpaper is invalid.

References