Show Specific User Page in Telegram

I'm creating an app by phonegap and I want to open Telegram groups or channels from my app.

In other mean when I click on a group , Telegram open and that group shows to user.

I used the following code but I don't know how to switch to specific @username page :

   var username = '
    navigator.startApp.start("org.telegram.messenger", function(message) {  /* success */
        console.log(message); // => OK
    },
    function(error) { /* error */
        console.log(error);
    });

I've tried to do this by open tg:resolve?domain=username in browser but my browser give me an erro :

net::ERR_UNKNOWN_URL_SCHEME

1 Answer

The answer is simple. Telegram Links follow the sheme:

So if the group is a public supergroup and has a public username (e.g. @newchat) you can reference it by this link (e.g. )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest