Either one is fine. I wish that people messaging me "hello" and their inquiry together vs separately were one of my top 500 problems.
I've been fascinated by just how passionately enraged the people who do have a problem with this seem to be whenever it comes up on here. I've stopped doing it out of deference to them (it literally never occurred to me that it could possibly bother anybody), but there are people who seem to go into monitor-smashing rages when it happens.
That would be the normie equivalent of sending a “hello” on Slack or Teams.