我正在使用
var image = {"type":"image","originalUrl":"image url here","previewUrl":"thumbnail url here"};
context.sendResponse(JSON.stringify(image));
用于将图像上传到gupshup whatsapp聊天机器人的格式,但是图像尚未发送, 显示的错误是
{
"meta": {
"api_status": "stable",
"version": "2.21.4"
},
"errors": [
{
"code": 1014,
"title": "Internal error",
"details": "Image file format (application/octet-stream) is not supported"
}
]
}