Reputation: 557
Is there any way to open telegram application from a website being in a mobile? I know if you use telegram:// you can open telegram app, but how can I open telegram and create a new conversation with a given number? i know it is possible by whatsapp like this:
this is the link https://api.whatsapp.com/send?phone=359883378007, when the link loads it beign redirected to this link whatsapp://send/?phone=359883378007
Upvotes: 7
Views: 31918
Reputation: 1026
2022 Updates
YOU CAN'T DO THAT. But, you can do the same with username -
https://telegram.me/Telegram_Username_Here
For updating the information -
telegram://
no longer works on the latest chrome browser of pc version, instead of this, use tg://
which works great on all devices.
Upvotes: 1
Reputation: 20911
To share with Telegram.me, you have the following URL options...
https://t.me/share/url?url={url}&text={text}
https://telegram.me/share/url?url={url}&text={text}
tg://msg_url?url={url}&text={text}
Take a look at the official API source: Core.Telegram.org: Widgets -> Sharing Button. They suggest the t.me
format. It seems like telegramUsername
format, or any format indicating a user or a phone number, is not supported according to the documentation.
You may share:
url
: The URL you want to share.text
: Text to accompany the URL you want to share.If you are interested in watching a project that keeps track of these URLs, then check us out!: https://github.com/bradvin/social-share-urls#telegramme
Upvotes: 4
Reputation: 420
You can use this link to open conversation with telegram username:
https://telegram.me/telegramUsername
username without @
Upvotes: 5