Let $f:\mathbb{C}\to \mathbb{C}$ be a complex function such that
$$|f(x-y)|=|f(x)-f(y)|,\qquad x,y\in\mathbb{C}.$$
Is it true that $$f(x+y)=f(x)+f(y),\qquad x,y\in\mathbb{C}?$$

The answer is affirmative when $f:\mathbb{R}\to\mathbb{R}$ is a real function, and the proof is not difficult. The above generalization seems harder: I inferred it from a conjecture that I saw in a paper.