This is an example of a message with multiple cards and suggestions in a carousel.
{
"endUser":{
"phoneNumber": "12065551234",
"mobileOperatorId": "77"
},
"variables":{
"request":{
"rcs": {
"richCard": {
"cardWidth": "SMALL",
"cards": [
{
"title": "My Website!",
"media": {
"fileUrl": "https://www.myurl.com/myfile.jpg",
"mimeType": "image/jpeg",
"fileSize": 12367
},
"suggestions": [
{
"action": {
"displayText": "Check out my website!",
"urlAction": {
"url": "http://www.mysite.com"
}
}
}
]
},
{
"title": "Place call!",
"media": {
"fileUrl": "https://www.myurl.com/mythirdfile.mp4",
"mimeType": "video/mp4",
"fileSize": 42367
},
"suggestions": [
{
"action": {
"displayText": "Call this number!",
"dialAction": {
"phoneNumber": "+12223334444"
}
}
}
]
},
{
"title": "Location Nearby!",
"media": {
"fileUrl": "https://www.myurl.com/mylastfile.jpg",
"mimeType": "image/jpeg",
"fileSize": 12367
},
"suggestions": [
{
"action": {
"displayText": "Store near you!",
"locationAction": {
"latitude": "+47",
"longitude": "+122"
}
}
}
]
},
{
"title": "Calendar!",
"media": {
"fileUrl": "https://www.myurl.com/mysecondfile.jpg",
"mimeType": "image/jpeg",
"fileSize": 12367
},
"suggestions": [
{
"action": {
"displayText": "Put it on your calendar!",
"calendarAction": {
"startTime": "2018-01-02T15:01:23.045123456Z",
"endTime": "2018-01-03T15:01:23.045123456Z",
"title": "This is the appointment title",
"description": "This is a description of the appointment"
}
}
}
]
}
]
}
},
"sms":{
"messageContent": "Hello customer! Check out my website, http://www.mysite.com!"
}
}
}
}