What does "messages" mean in the Priority Only settings in Do Not Disturb?
I checked this about an year ago when I had hangouts installed

All messages (including text) that use GCM were blocked. WhatsApp doesn't use GCM so they will be received