I'm trying to send a SMS message for the android SMS Retriever API which has to be in this format:
<#> Your Example app code is: 123ABC78
/f8Escobih1Z
But the line break after the code doesn't seem to work. Here is my code:
await twilio.messages
.create({
body: `<#> ${code}
/f8Escobih1Z`,
from: process.env.TWILIO_PHONE,
to: phoneNumber
})
I've tried a normal line break like above or adding \n or \r\n, but nothing seems to work. Does anybody know what I'm doing wrong?