# Telegram Deep Linking

Xenioo Telegram channel fully supports the [Telegram Deep Linking](https://core.telegram.org/bots#deep-linking) link format. This enables your chatbot to automatically present your user with different informations depending on a specific keyword added to your chat link.

## Building the chat link

A standard Telegram chat link would look something like this:

```
http://t.me/<BOT_NAME>
```

Where \<BOT\_NAME> is the name of your page. To build a referral link, you just add the referral parameter at the end of the link like this:

```
http://t.me/<BOT_NAME>?start=<REF_PARAM>
```

The \<REF\_PARAM> value can be any single word without blank spaces, and it is going to be the value your bot will be looking for.

## Checking for a referral

Inside your chatbot, the referral value will be available in a variable named *referral*. Inside your chatbot startup flow, you can use the referral value to [differentiate the flow](https://docs10.xenioo.com/actions-and-operations/flow/xenioo.bots.actions.base.variableconditionaction) accordingly.
