Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use markdown in telegram? I want to send message with hyperlink

So I created my own telegram channel and send broadcasts to my people. and I saw that other people make clean hyperlink in their message without showing full URL.

I found the way I can do that which is

[text](http://example.com) 

But it never works for me, and I got to know that I need to write in markdown mode? So my question is how can I turn on the markdown mode when I send message?

Spending a few hours already and couldn't figure it out yet :/

like image 209
user9916658 Avatar asked Jun 09 '18 01:06

user9916658


People also ask

How do I make text clickable in Telegram?

In the new desktop versions, you can add hyperlink by pressing ctrl + k and typing links. Show activity on this post. So I use Telegram desktop or Telegram X for create hyperlink because Telegram X supports markdown. Type url and send message (in Telegram X) or there is an alternate way which is the easiest!

How do you link text in markdown?

Markdown syntax for a hyperlink is square brackets followed by parentheses. The square brackets hold the text, the parentheses hold the link.

How can I use markdown in Telegram?

Select and right click on the text you want to format and then select "transfrom". Iphone and Android: Hold the finger in on the text you want to format to select it and you will find the formatting options there int the context menu. Xiaomi and other non supported "context menu" devices: You can still get it working!


2 Answers

Today I found that in the Telegram desktop client I can add a hyperlink pressing Ctrl-K (or through popup menu by RightClick)! It's great! No bots and markdown needed!

like image 90
aralex Avatar answered Sep 21 '22 18:09

aralex


You can use Markdown or HTML style in parse_mode.

If you are using Telegram client, it didn't support, but you can use inline bot. For instance, copy following line to input area, and wait for result:

@Sean_Bot md [hello](https://t.me/) 
like image 45
Sean Avatar answered Sep 19 '22 18:09

Sean