Answer the question
In order to leave comments, you need to log in
How to make a line break in a Telegram bot message for MikroTik?
There are similar questions nearby about line wrapping when using the Telegram API, but the recommendations on them do not help.
Scripts in MikroTik RouterOS are specific.
I give the command:
:tool fetch url=("https://api.telegram.org/bot" . $BOTTOKEN . "/sendmessage\?chat_id=" . $CHATID . "&text=Info for $"NAME" \r\n Now") keep-result=no
Info for Mikrotik
Info for Mikrotik Now
Info for Mikrotik \r\n Now
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question