How do I use the formatting options to add links to my bot's messages?
Telegram Bot SupportThere are two ways to add links to your bot’s message using the formatting options:
- Markdown:
Click [here](https://telegram.org)
- HTML:
Click <a href="http://telegram.org">here</a>
For both cases, there are a few limitations to keep in mind:
- Links shouldn't be empty.
Not supported: Click [here]()
- Only http and https protocols are supported.
Not supported: Click [here](ftp://myftpserver)
- By default, if no protocol is provided, http will be used.
Click [here](telegram.org) will become Click [here](http://telegram.org).
- Nested entities are not supported, meaning you can't add bold, italics or code inside the link (or vice versa).
Not supported: Click [*here*](https://telegram.org) or Click *[here](https://telegram.org)*.