Send Cards
Our platform allows to send up-to 10 cards with each card having up-to 3 buttons.
ctx.sendCards({
"title": "Card1",
"subtitle": "Subtitle1",
"image": "https://path-to-image1",
"buttons": [{
"type": "postback",
"jumpTo": "<Story Label>",
"title": "Button 1 title"
},
{
"type": "url",
"url": "https://external-redirec-link",
"title": "URL BUTTON"
}, {
"type": "postback",
"jumpTo": "<Story Label>",
"title": "Button 3 Postback with variables",
"variables": [{
"key": "#variableName",
"variableType": "variableType",
"value": "value"
}]
}
]
})
Copy link