Cordova – Show specific user pages in Telegram

I am creating an application through phonegap, and I want to open a Telegram group or channel from my application.

In other words, when I click When there is a group, Telegram opens and the group is displayed to the user.

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

< /p>

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

I tried to open tg:resolve in the browser? domain = username to do this, but my browser gave me an error:

Net:: ERR_UNKNOWN_URL_SCHEME

< /div>

The answer is simple.
The telegram link follows the sheme: https://t.me/

So, if the group is a public super Group and has a public username (e.g. @newchat), you can refer to it via this link (e.g. t.me/newschat)

I am creating an application via phonegap Program, I want to open a Telegram group or channel from my app.

In other words, when I click on a group, Telegram opens and the group is displayed to the user.

< p>I used the following code, but I don’t know how to switch to the specific
@username page:

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

I tried to open the tg: resolve? domain = username to do this, but my browser gave me an error:

Net:: ERR_UNKNOWN_URL_SCHEME

Answer Very simple.
The telegram link follows the sheme: https://t.me/

So, if the group is a public super group and has a public username (e.g. @newchat) , You can refer to it via this link (e.g. t.me/newschat)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3748 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.