I don't know what to say, i'm sorry i didn't read the documentation carefully. I do think that the title is 60 Character Limit and the text is 40 character limir. Thank you very very much.
- 0
Hello,
The problem is the structure of your carousel and the size of your title. In the documents of the Carousel template, we can see "title Max: 40 characters". You should decrease the number of your substring().
// Good structure for a carousel
const response = {
type: 'template',
altText: 'this is a carousel template',
template: {
type: 'carousel',
columns: [Array] // Array of columns Max: 10
}
};
// Good structure for a column
const column = {
title: 'My title', // Title Max: 40 characters
text: 'My text', //Message text Max: 120 characters (no image or title)
// Max: 60 characters (message with an image or title)
actions: [
{
type: 'uri',
label: 'Click',
uri: 'https://...'
}
]
};
がんばって!
- 0