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
| Name | Type | Required | Description |
|---|---|---|---|
Wallpaper | InputWallPaperClass | yes | The wallpaper to get info about |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | WALLPAPER_INVALID | The specified wallpaper is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
account.getWallPaper#fc8ddbea