Tuesday, 25 April 2017

Microsoft Bot Framework - New line in prompts

How do I add a new line in a prompt?

session.send('This is line 1. This is line 2.');

I want the output to look like:

This is line 1.

This is line 2.

But the output I get is:

This is line 1. This is line 2.

I tried using \n, \r\n and os.EOL but none of them worked. Is it possible to add a new line in a prompt?



via Anish

No comments:

Post a Comment