I would like Watson Conversation to display a response message from Watson with a new line.
Even if you try the following methods, they will not break the line.
Oh, my God.
Kakikakeko
Enter the following in Dialog's "Then response with:"
US>Aye\nKakikakeko
US>Aye\r\nKakikakeko
If you check Try it out...
US>Aye\nKakikakeko
US>Aye\r\nKakikakeko
appears as it is.
I tried the following method in Json Editor, and the result was the same.
US>Aye\\nKakikakeko
US>Aye\\r\\nKakikakeko
How do I get Conversation to write a new line?
Sorry, I solved myself.
D Enter the following in Dialog's The response with:
Aye\nKakikakeko
J Open in Json Editor and delete one backslash
Aye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye-ye.
TTry it out shows no new line, but on Slack it shows a new line.
© 2024 OneMinuteCode. All rights reserved.