Hi, how can I include the line break character in my shortcuts? i.e. look at the screen grab - I want each of the shortcuts to appear as new lines as it currently looks cluttered.
thankssss.
Hi, how can I include the line break character in my shortcuts? i.e. look at the screen grab - I want each of the shortcuts to appear as new lines as it currently looks cluttered.
thankssss.
Hi Rachael
You’ll find that your shortcuts fall back to text (the way yours are shown here) when you exceed 20 characters. If you shorten the names of your choices, you’ll see that the options are nicely shown using buttons. (like so…)
Hope that helps !
Sarah
Hi Sarah,
Yes I understand the char limit for buttons. But my question is,in the case
it exceeds the 20 char limit, how I can make the text appear as new lines
\n in the chat box? I would envision that is possible in a code but I can’t
configure that from the flowxo UI.
Thanks alot for your help.
Rachael
Hi Rachael,
Ah I see - Your right unfortunately you can’t control how this message appears.
I have to agree it would be better to show these options on new lines (it would show the options more like a list) and for guidance the bot user would see the options much clearer.
I’ve fed it back internally but there isn’t any way to change this currently
Sarah
hi @sarahpalombo
I’m trying to do the same with code .
to get my shortcuts in nest line.
but it isn’t working can you help me with code
and also to make the shortcuts stay forever or for some time .
thanks,
this is my code.
code:
{
“recipient”:{
“id”:"{{new_message.user_id}}"
},
“message”:{
“text”:“Pick a color:”,
“quick_replies”:[
{
“content_type”:“text”,
“title”:“Book a Virtual/offline Appointment”,
“payload”:“DEVELOPER_DEFINED_PAYLOAD_FOR_PICKING_APPOINTMENT”
},
{
“content_type”:“text”,
“title”:“Check Symptoms”,
“payload”:“DEVELOPER_DEFINED_PAYLOAD_FOR_PICKING_SYMPTOMS”
},
{
“content_type”:“text”,
“title”:“Ask a question”,
“payload”:“DEVELOPER_DEFINED_PAYLOAD_FOR_PICKING_QUESTIONS”
},
{
“content_type”:“text”,
“title”:“Contact us”,
“payload”:“DEVELOPER_DEFINED_PAYLOAD_FOR_PICKING_CONTACT US”
}
]
}
}
Hi Mayank,
Unforuntately it doesn’t seem possible even with code to be able to add a new line for each of the quick reply answers. The layout here is controlled by Facebook and not by Flow XO so unforuntately there is nothing we can do here. The same is also true with how long the quick reply buttons show on screen. It is a facebook setting that means once another message has been received the quick reply buttons are hidden in order to keep the chat looking cleaner.
Sorry for any inconvenience here.