Are you serious, or was that irony?

How to say “Are you serious, or was that irony?” in Japanese

In Japanese

本気(ほんき)で言(い)ってるの、それとも皮肉(ひにく)だったの?

Honki de itteru no, soretomo hiniku datta no?

Are you serious, or was that irony? in other languages