code: func (b *Bot) ProfilePhotosOf(user *User) ([]Photo, error) {
  	params := map[string]string{
  		"user_id": user.Recipient(),
  	}
  
  	respJSON, err := b.Raw("getUserProfilePhotos", params)
  	if err != nil {
  		return nil, err
  	}
  
  	var resp struct {
  		Ok     bool
  		Result struct {
  			Count  int     `json:"total_count"`
  			Photos []Photo `json:"photos"`
  		}
  
  		Description string `json:"description"`
  	}
  
  	err = json.Unmarshal(respJSON, &resp)
  	if err != nil {
  		return nil, errors.Wrap(err, "bad response json")
  	}
  
  	if !resp.Ok {
  		return nil, errors.Errorf("api error: %s", resp.Description)
  	}
  
  	return resp.Result.Photos, nil
  }
docs: // ProfilePhotosOf return list of profile pictures for a user.