Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there tg protocol url to open known contact in Telegram desktop?

Tags:

telegram

I need to open Telegram Desktop clicking some link on a web page. Is there any way to open Telegram and switch to chat with known contact? I tried "send message" URL like tg://msg?to=+79501231234&text=Hi but it just opens Telegram without opening 'to' contact chat.

There is tg://resolve?domain=USERNAME that works with user names, but I need it to work with phones.

like image 644
Jury Avatar asked Dec 01 '25 10:12

Jury


1 Answers

tg://resolve?phone=11111 should work

like image 139
Zafar Kamolov Avatar answered Dec 04 '25 09:12

Zafar Kamolov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!