Telegram HTML parse mode is usually safer than legacy Markdown; MarkdownV2 needs careful escaping. Pick one and escape everything.
Checklist
- Prefer HTML for most bots
- Escape every dynamic string
- Disable link previews when links are signed
- Test with adversarial user input
Related
Frequently asked questions
Is this exhaustive?
No. It is a practical starting point; verify details in official docs before production.