URI Scheme

Schemes specifying a concrete syntax and associated protocols define each URI. The most common form of URI is the uniform resource locator (URL), frequently referred to informally as a web address.

Telegram for iOS and Telegram Web support an URI scheme. This allows for all kinds of interactions between other apps and websites.


Example: Sending a message with the text “Hello” to +42333 tg:msg?text=Hello&to=+42333

Note that the to parameter will only work if you have that user in your contacts. Otherwise nothing happens when you click the link.


Example: Open a chat by username tg:resolve?domain=Markus

Note that you can also use the telegram.me/username link to directly open a chat by username.


Example: Open a sticker pack called 'Flags' tg:addstickers?set=Flags