Open telegram application from browser
Asked Answered
L

2

7

We have created a Telegram bot and we want start it by link for example

https://telegram.me/testbot?start=hello

When we write that link in browser automatically telegram application opens by value of start but we want to start telegram application by our site for example when user enter http://example.com/testbot?start=hello telegram application must starts with start value .

So have you any idea how can I do that ?

Longs answered 25/7, 2018 at 5:8 Comment(0)
D
5

if you already have the user's username (not all of them have one), you can use https://t.me/USERNAME and it should open the app.

Disesteem answered 29/10, 2018 at 16:56 Comment(1)
in my case it was tg://t.me/USERNAMEDisherison
K
0

Telegram application does not listen to unknown urls. But as a workaround solution you can have a redirection in your landing pages.

Kubetz answered 27/7, 2018 at 19:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.