I'm passing a message from an external application to a Microsoft Teams channel using the Send chatMessage in a channel or a chat functionality.
The message is sent correctly, and when I open the channel from the Teams app on my smartphone, it is also formatted correctly: for each \n in the original message, there is a new line.
The problem is that when I open the same channel from the app on my laptop or from a browser, the same message that was formatted correctly on the smartphone now is not. The \n are ignored, the text is all on the same line.
Can someone please explain how to format correctly the text also for the laptop view?
Thanks in advance and have a nice day.