Carousel response
The carousel is an ideal response format when you need to display multiple items in one view. Carousels can contain up to six cards, each consisting of the following fields:
title
: The title of the card.subtitle
: A short description or subtitle for the card.media
: An image or video to display in the carousel. It includes the following sub-fields:type
: Specifies whether the media is animage
orvideo
.url
: The URL of the media.
default_action
(Optional): An action triggered when the media is clicked, with the following sub-fields:type
: Can bepostback
,url
,webview
, orphone
.value
: The value associated with the action type.
buttons
: Each card must have at least one and up to three buttons, formatted as follows:label
: The text displayed on the button.type
: Can bepostback
,url
,webview
, orphone
.value
: The value associated with the button type.
INFO
Postback responses provide the same result as options
.