Sending an image and text
{
"message": {
"raw": {
"attachment": {
"type": "template",
"payload": {
"elements": [
{
"title": "Here is image 1",
"subtitle": "Text",
"image_url": "https://www.images.com/image1.jpg"
},
{
"title": "Here is image 2",
"subtitle": "Text",
"image_url": "https://www.images.com/image2.jpg"
}
],
"template_type": "generic",
"image_aspect_ratio": null
}
}
}
},
"recipient": {
"id": "FBID"
}
}
Updated over 3 years ago