Sending a carousel message

Carousel message

Below is an example of a carousel message

Copy
Copied
{
  "to": "441234567890",
  "message": {
    "type": "carousel_rich_card",
    "width": "MEDIUM",
    "contents": [
      {
        "title": "title1",
        "description": "description1",
        "media": {
          "height": "MEDIUM",
          "file": { "file_uri": "https://mydomain.net/path/to/file.jpg" }
        },
        "suggestions": [
          {
            "type": "reply",
            "display_text": "Like",
            "postback": { "data": "like_tapped" }
          }
        ]
      },
      {
        "title": "title2",
        "description": "description2",
        "media": {
          "height": "MEDIUM",
          "file": { "file_uri": "https://mydomain.net/path/to/file.jpg" }
        },
        "suggestions": [
          {
            "type": "reply",
            "display_text": "Like 2",
            "postback": { "data": "like2_tapped" }
          }
        ]
      }
    ]
  }
}

Rendered message

Was this page helpful?