What everyone is saying is all relatively (relatively- in relation, comparison, or proportion to something else.) subjective. Using dudes is very informal. Instead of using that I would have said Hi Everyone. If I were in a group chat full of friends I would say hey guys. If i was talking to just some male only friends. Hey, dude's can be used. Hope this was helpful.