캐러셀(carousel)은 여러 개의 메시지 버블을 하위 컴포넌트로 포함하는 컨테이너이다. 좌우로 스크롤하여 메시지 버블을 확인할 수 있다.
캐러셀을 정의하는 JSON 데이터의 최대 크기는 30KB로 제한된다.

| 파라미터 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
| type | string | Y | carousel 로 고정 |
| contents | string | Y | 캐러셀에 포함된 bubble. 최대 개수: 10개. |
참고
- 하나의 캐러셀에 너비가 서로 다른 버블을 추가할 수 없다(
size속성). 하나의 캐러셀에 추가된 버블들의 너비는 모두 동일해야 한다.- 하나의 캐러셀에 포함된 모든 버블의 높이는 가장 높은 버블의 높이에 맞춰 늘어난다. 단, 바디(body)가 없는 버블은 높이가 변하지 않는다.
{ "type": "carousel", "contents": [ { "type": "bubble", "body": { "type": "box", "layout": "horizontal", "contents": [ { "type": "text", "text": "The Message Bot API enables the client to interact with individual users, by using a message bot account.", "wrap": true } ] }, "footer": { "type": "box", "layout": "horizontal", "contents": [ { "type": "button", "style": "primary", "action": { "type": "uri", "label": "See more", "uri": "http://worksmobile.com" }, "height": "sm" } ] } }, { "type": "bubble", "body": { "type": "box", "layout": "horizontal", "contents": [ { "type": "text", "text": "Hello, World!", "wrap": true } ] }, "footer": { "type": "box", "layout": "horizontal", "contents": [ { "type": "button", "style": "primary", "action": { "type": "uri", "label": "See more", "uri": "http://worksmobile.com" }, "height": "sm" } ] } } ]}