Multi Cards

@Format('carousel', [{
title: 'An article',
subtitle: 'Subtitle',
image: 'https://via.placeholder.com/600/92c952',
buttons: [
{
title: 'Website Link',
url: 'https://newbot.io'
},
{
type: 'postback',
title: 'Add to cart',
payload: 'action?add=1'
}
]
}]
)
> Hey
For the payload, either you perform an action (see the @action decorator) or you use the magic variable :payload
Last updated
Was this helpful?