WhatsApp was build upon XMPP protocol. You can look into XMPP clients.
Besides that WhatsApp is not the way to communicate anyway. Normies use it because it is put up on their face and considered to be widely acceptable among them, while rhey don't understand how privacy invading it is.