DaggieBlanqx / whatsappcloudapi_wrapper

An easy way to build Whatsapp Chatbots on top of the new Whatsapp Cloud API
129 stars 66 forks source link

sendAudio has wrong parameters #5

Closed Lilleri closed 6 months ago

Lilleri commented 2 years ago

the sendAudio function set wrong parameters, according to whatsapp business cloud api the audio must not have an caption parameters, if you set the param, it will return this error: [{"status":"failed","message":"(#100) Unexpected key \"caption\" on param \"audio\".","type":"OAuthException","code":100,"fbtrace_id":"doe"}]

haziqmus commented 2 years ago

same problem here.

DaggieBlanqx commented 6 months ago

This has been addressed.