There was no send method returned in the bot.private method.
Update:
There is a send method returned. However:
The body and meta parameters in the callback function are the wrong way round
The meta parameter returns the user who sent the message's whatsapp ID, not an object of data about them as well as the message as I believe it should.
There was no
send
method returned in thebot.private
method.Update:
There is a
send
method returned. However:body
andmeta
parameters in the callback function are the wrong way roundmeta
parameter returns the user who sent the message's whatsapp ID, not an object of data about them as well as the message as I believe it should.