You can do this with the help of Google Assistant.

Press the Home button on your Android smartphone and then say 'Hey Google'.

Then say Send A Message to - (the name of the contact you want to send the message to)

If you want to send any message after selecting WhatsApp, talk to Google Assistant.