Telegram supports basic HTML in bot messages. Useful tags:
- <b>Bold</b> → Bold
- <strong>Bold</strong> → Bold
- <i>Italic</i> → Italic
- <em>Italic</em> → Italic
- <u>Underline</u> → <u>Underline</u>
- <ins>Underline</ins> → <ins>Underline</ins>
- <s>Strike</s> / <strike>Strike</strike> → Strike
- <code>inline code</code>
- <pre>preformatted block</pre>
- <a href=”https://example.com”>Link text</a>
Note: Telegram does not support <br> in your bot. Use \n for line breaks in your string content.