> For the complete documentation index, see [llms.txt](https://developer.betstack.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.betstack.io/bet-card-api/referral/telegram-deep-link.md).

# Telegram deep link

Created valid telegram deep link

Query parameters:

<table><thead><tr><th>Parameter name</th><th width="175">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>operator</td><td>string</td><td>Operator name. For example, for operator <code>acme</code> the value should be <code>operator=acme</code></td></tr><tr><td>rtag</td><td>string</td><td><code>rtag</code> value</td></tr><tr><td>betcard_code</td><td>string</td><td>Code of the betcard which was used for ticket creation</td></tr></tbody></table>

Response example:

```json
{
    "link": "https://t.me/bot_name?start=Yj1DT0RFMTImYXRhZz1Nemd3TWpJeE1qTTBOVFkz"
}
```
