How do I indent a message in a fetch request? For clarity, I will attach code and result. I'm using telegraf lib for telegram on JavaScript.
fetch(
`https://api.telegram.org/bot${ENV.TELEGRAM_TOKEN}/sendMessage?chat_id=${messages.chatId}&text=🆙 LEVEL UP! 🆙
Your bonus level is now gold🥇 You can see what privileges are available to you by clicking on the command /bonus`,
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
},
},
);
And I get in bot:
🆙 LEVEL UP! 🆙 Your bonus level is now gold🥇 You can see what privileges are available to you by clicking on the command /bonus
But I'm expected to see:
🆙 LEVEL UP! 🆙
Your bonus level is now gold🥇 You can see what privileges are available to you by clicking on the command /bonus
How can I indent between messages? Help me please