Closed deanylev closed 2 years ago
This is currently being fixed in #325
Hi deanylev .... find the WAPI.sendImage function and change ".models[0]" to "._models[0]" from the WAPI.js file. For me it worked.
@Consir-Informatica cheers, that's seems to have worked.
How do I reply to a message with more than one image? for example 2 images in 1 answer
If you are using webhook then it is just an array you can put as many message objects you like in the response.
Should be fixed in v0.29.0 https://github.com/vasani-arpit/WBOT/releases
Please check and let me know.
Describe the bug The
sendImage
function doesn't appear to be working anymore. When responding with afiles
array from my server, the images don't get sent anymore, and instead I get an error in my console (attached in the screenshots section).To Reproduce Steps to reproduce the behavior:
WAPI.sendImage
with a base64 encoded image and chat ID.Expected behavior The image should be sent into the chat.
Screenshots
App information (please complete the following information):