When we want to send WhatsApp msg to a number not in our contacts, we have to add to our contacts, then wait for WhatsApp refresh, search for contact and send message.
wamsg simple CLI tool which takes number and msg as inputs on your command line, helps you to send out msg (optional) from your WhatsApp web or desktop app.
go build wamsg.go
wamsg binary is built
./wamsg 919012345678 hello
- opens WhatsApp web, either continue with WhatsApp web version or with prompted WhatsApp Desktop App