I am creating a phonegap application and I want to open Telegram groups or channels from my application.
In another meaning, when I click on a group, Telegram opens, and this group is displayed to the user.
I used the following code, but I donβt know how to switch to specific @username Page:
var username = 'http://telegram.me/telegram'; navigator.startApp.start("org.telegram.messenger", function(message) { console.log(message);
I tried to do this by opening tg:resolve?domain=username in the browser, but my browser gave me erro:
net::ERR_UNKNOWN_URL_SCHEME
source share