Tried many way with parse_mode
: Markdown
or HTML
:
curl -s "https://api.telegram.org/bot$botToken/sendMessage"
-H Content-Type: application/json
-d { "parse_mode": "HTML", "chat_id": "234567", "text": "xxx", "description": "xxxxxxx" }
But nothing works.
Searched many web sites. API doc https://core.telegram.org/bots/api#formatting-options don t say anything about newlines.
How can I do to preserve
from my input text?