Webview not redirect to Telegram

In my site i have one icon to redirect for our channel in telegram. When i press the buton shows: net::ERR_UKNOWN_URL_SCHEME. Whatsapp button are working fine.

I found something working but not 100%. This code redirect to telegram, but everytime page is loaded.

try providing t.me/ link in Data Uri

1 Like

Use the latest version. There you will find a method named RegisterDeepLink. Before loading url register for tg

1 Like

Can you please send me an example for this?

But how i said, in “pageload” after the app load the page, instant open telegram. Or I need duplicate the same of Whatsapp and change the “api.whatsapp” for t.me/?