J
J
Jorik_Wa2017-11-09 08:40:24
Messengers
Jorik_Wa, 2017-11-09 08:40:24

How to make a link on the site to open Telegram?

On the html page, I want to make a link by clicking on which the user opens Telegram. It is desirable that somehow my login is already added to "whom to write to". That is, as for emai'a, you can do mailto:[email protected]_email.com, I also want it for Telegram.
How to do it?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel Virsky, 2017-11-09
@Jorik_Wa

Is this option not suitable? https://telegram.me/YourUserName

C
Comandante Fidel, 2017-11-09
@cmdfidel

And what was the problem with seeing how it was done on t.me?

<a href="tg://resolve?domain=username">username</a>

A
Alexander Taratin, 2018-08-19
@Taraflex

Option for RF (because t.me and telegram.me domains are blocked)
Any t.me alternatives add ads and redirects to third-party sites over time.
I had to file my own solution https://github.com/tgrm/tgrm.github.io

A
Alexander Solovyov, 2017-11-10
@s0l0wey

Well, the third option:
t.me/username
<a href="http://t.me/username">username</a>

R
RuWeb, 2020-04-05
@RuWeb

Use this service: https://msngr.link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question