# Open your app from Telegram links

> How Telegram opens links on Android and iPhone, why a Telegram channel link can open a web page instead of your app, and how Strait handles Telegram's in-app browser and preview bot.

Source: https://straitlink.in/open-app-from/telegram/
Markdown: https://straitlink.in/open-app-from/telegram.md

## Make Telegram links open your app

Telegram lets each person choose where links open. Some taps arrive from Telegram's own browser, some from Chrome or Safari. Both need to end in your app.

[Simulate a tap from Telegram](https://straitlink.in/tools/will-it-open/?ch=telegram-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42) [Start free](https://app.straitlink.in/?signup=1)

Telegram · the problem

## Telegram opens links in its own browser or in Chrome, depending on a setting.

What it costs you

Some taps arrive from inside Telegram and stall on a web page; the rest arrive from the phone’s browser.

What Strait does

It handles both: an “Open in app” page in Telegram’s browser, the normal hand-off from Chrome or Safari.

**Short answer:** Telegram lets each person choose whether links open in its in-app browser or the phone's browser, so one link must work three ways: inside Telegram's web view, in a normal browser, and directly into your app when App Links are verified. The link server recognises Telegram's browser and shows an Open in app page there.

## Will it open from Telegram?

Paste the address your link points to and pick how the tap arrives from Telegram. The answer prints like a record, stamped.

Runs the link server’s own decision code in your browser; nothing you paste is sent. The example app has an Android package and an App Store ID. [More settings in the full simulator](https://straitlink.in/tools/will-it-open/?ch=telegram-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42).

What the link server decides

## What Strait does with a tap from Telegram

Each card is the link server’s real decision for that kind of tap, worked out by running its code on the user agent the tap arrives with. The example app has an Android package and an App Store ID; the link points to `https://shop.example.com/products/42`.

### Android, Telegram’s in-app browser

**What Strait sees**

Android (Android 14), inside Telegram's in-app browser.

**Decision**

Telegram in-app browser: shows a page with a one-tap "Open in app" button, plus how to open the link in the real browser.

**App installed**

A page with an "Open in app" button. One tap opens the app at the deep link.

**App not installed**

The same button goes to Google Play with the link attached, so the app can open the right screen after install. The page also shows how to open the link in the real browser.

### Android, Telegram set to open links in Chrome

**What Strait sees**

Android (Android 14), in the phone's browser.

**Decision**

Opens the app if installed, otherwise Google Play with the link attached for deferred deep linking.

**App installed**

The app opens at the deep link, directly from the tap.

**App not installed**

Google Play, with the link in the install referrer. After install, the SDK reads it and opens the right screen (a deferred deep link).

### iPhone, the link opens in Safari or a Safari view

**What Strait sees**

iPhone or iPad (iOS 17.5), in the phone's browser.

**Decision**

iPhone browser: the app did not open by itself (not installed), so it shows the "Get the app" page; the tap on it goes to the App Store; after install the app can pick up the link on first open (when install matching is on).

**App installed**

If the app is installed and its Universal Links are set up, iOS opens the app before the tap reaches Strait, so this page does not appear.

**App not installed**

A "Get the app" page. The tap on it goes to the App Store, and the app can pick up the link on first open when iPhone install matching is switched on (opt-in).

### Telegram building the preview

**What Strait sees**

A link-preview fetcher or script, not a person.

**Decision**

Preview (link-preview bots and requests without a browser user agent): served the preview card (title, description, image), never a redirect; counted as a preview, never billed.

**App installed**

No redirect. The chat shows a preview card built from the link's title, description and image.

**App not installed**

Same: previews never redirect and are never billed as taps.

## Telegram lets people choose

Telegram has a setting that decides whether links open inside Telegram or in the phone's browser, so two members of the same channel can tap the same link and land in different places. On Android, Telegram's in-app browser is a web view that adds `Telegram-Android/<version>` to its user agent. With the setting off, the link goes to Chrome or another default browser instead. On iPhone, depending on the same setting, links open in Telegram's own browser (added in July 2024), in Safari, or in a Safari view, which presents itself as Safari.

For you that means one link has to work in three situations: inside Telegram's web view, in a normal phone browser, and on a phone that opens your app directly because App Links are verified.

## What the link server does

The cards above show each case. A tap carrying Telegram's token on Android gets the in-app browser page with an **Open in app** button: one tap opens your app at the deep link, or goes to Google Play with the link attached when the app is missing. A tap from Chrome gets the normal Android hand-off, which opens the app if it's installed and Google Play if it isn't. On iPhone, a Safari tap without the app gets the **Get the app** page, and the app can pick up the link on first open. Strait's Universal Links were tested on a real iPhone in October 2026, though not yet from inside Telegram; install matching after an App Store install is opt-in.

## Channels, groups and bots

Telegram is a broadcast tool for many Indian communities, from trading groups to coaching institutes, and channel posts get forwarded far beyond the people who subscribed. Give each post its own short link, or at least its own `utm_campaign`, so a forwarded post still shows which announcement it came from. Taps whose referrer is `t.me` or the Telegram app (`org.telegram.messenger`) are labelled `telegram` in Analytics.

If you send links from a Telegram bot, create them through the REST API with your secret key on your server. The bot's message then carries a link that already knows its campaign. Never put the secret key in the bot's client-side code.

## The preview bot

Telegram's servers fetch a link to draw its preview, identifying as `TelegramBot`. That request gets your title, description and image as a 200 page and is never counted as a tap. If a post shows the wrong image, Telegram's own preview cache may be holding an old one.

Analytics

## How Telegram taps are counted

Analytics files these taps under the channel `telegram` even when the link has no UTM tags. It works that out from, in order: a `utm_source` on the tap or in the link’s destination, then the in-app browser’s user agent, when the tap happens inside Telegram, then Android reporting that the tap came from `org.telegram.messenger`, then a referring page on `t.me` or `telegram.org`. A `utm_source` you set always wins, so a campaign tag like `utm_source=telegram-broadcast` keeps its own row.

## Try a real tap from Telegram

- **1**Send yourself the demo link Paste `demo.strait.link/try` into Telegram (a chat with yourself, a draft, a private post) and tap it on your phone. You see what your users would see first. Without our demo app installed, the tap ends on our website.
- **2**Simulate it [Open the simulator with Telegram already picked](https://straitlink.in/tools/will-it-open/?ch=telegram-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42), change the link or clear an app setting, and watch the decision change.
- **3**Trace it Scan the [Live Tap Trace](https://straitlink.in/#try) on the home page with your phone to see each step of one real tap arrive.

## Go further

- [Troubleshooting When a link opens the browser instead of the app](https://straitlink.in/docs/troubleshooting/)
- [App Links & Universal Links The verification that lets a tap skip the browser](https://straitlink.in/docs/app-links/)
- [Check your App Links setup Free check of assetlinks.json and apple-app-site-association](https://straitlink.in/tools/app-links-checker/)
- [Analytics: how we count Channels, taps, opens and installs](https://straitlink.in/docs/analytics/)

### The other apps your users tap in

- [WhatsApp](https://straitlink.in/open-app-from/whatsapp/)
- [Instagram](https://straitlink.in/open-app-from/instagram/)
- [Facebook](https://straitlink.in/open-app-from/facebook/)
- [Gmail](https://straitlink.in/open-app-from/gmail/)
- [LinkedIn](https://straitlink.in/open-app-from/linkedin/)
- [X (Twitter)](https://straitlink.in/open-app-from/x-twitter/)
- [YouTube](https://straitlink.in/open-app-from/youtube/)
- [Snapchat](https://straitlink.in/open-app-from/snapchat/)
- [SMS](https://straitlink.in/open-app-from/sms/)
- [Discord](https://straitlink.in/open-app-from/discord/)
- [Pinterest](https://straitlink.in/open-app-from/pinterest/)
- [Reddit](https://straitlink.in/open-app-from/reddit/)
- [Truecaller](https://straitlink.in/open-app-from/truecaller/)
- [Paytm](https://straitlink.in/open-app-from/paytm/)
- [TikTok](https://straitlink.in/open-app-from/tiktok/)
- [Outlook](https://straitlink.in/open-app-from/outlook/)

## Make your own link for Telegram.

Free for 25,000 taps a month, no card. Every tap from Telegram shows up with its own trace.

[Start free](https://app.straitlink.in/?signup=1) [Read the quick start](https://straitlink.in/docs/quick-start/)
