Based on my test using "contentType": "html" will post the chat message in new line. Refer to the below sample request payload I used for my test.
POST /teams/{team-id}/channels/{channel-id}/messages
{
"body": {
"contentType": "html",
"content": "Hello world<br/>New Line"
}
}
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
source: chatmessage-post