-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Special links
Thorbijoern edited this page Mar 7, 2019
·
9 revisions
HTTP links:
- https://t.me/bot?start=foo. Starts @bot with parameter "foo".
- https://t.me/share/url?url=foo. Lets the user select a chat and have their input be "foo".
TG links:
- tg://resolve?domain=bot&start=foo. Starts @bot with parameter "foo".
-
tg://openmessage?chat_id=123&message_id=456. Should go to the message
456
from chat123
.
More can be found in tdesktop
's click_handler_types.cpp
.
The links/urls might be platform-/client-specific and as such might not work on every client. If you really need to use some special link make sure it works on all platforms.