// UpdateUser updates user's info.
UpdateUser updates user's info.
// UpdateUser updates user ' s info .
func (s *UserService) UpdateUser(user User) error {
	s.command = "batchadd"
	s.data = user
	res, err := s.doRequest()
	status := &APIResultStatus{}
	err = JSONBodyDecoder(res, status)
	if err != nil {
		return err
	}
	return status.Error()
}
func ( s * UserService ) UpdateUser ( user User ) error { s . command = " " s . data = user res , err := s . doRequest ( ) status := & APIResultStatus { } err = JSONBodyDecoder ( res , status ) if err != nil { return err } return status . Error ( ) }
UpdateUser updates user's info.
UpdateUser updates user ' s info .