I don’t know.
It’s out of this forum scope. You may like to post a question in Twilio Community or Stackoverflow.
But first try:
Use backticks with actual line break like this:
const body = `line1
line2`;
Also try:
const body = `line1\n
line2`;