I am using this
var image = {"type":"image","originalUrl":"image url here","previewUrl":"thumbnail url here"};
context.sendResponse(JSON.stringify(image));
format for uploading image to gupshup whatsapp chatbot, but image is not been send, the error it is showing is
{
"meta": {
"api_status": "stable",
"version": "2.21.4"
},
"errors": [
{
"code": 1014,
"title": "Internal error",
"details": "Image file format (application/octet-stream) is not supported"
}
]
}