# Telegram

### Proxy setup for the Desktop version of Telegram

To set up a proxy in <mark style="color:purple;">Telegram</mark>, go to Settings.

<figure><img src="/files/QHKzEtLW92osLNkx4BXi" alt=""><figcaption></figcaption></figure>

Then open the "Advanced" settings.

<figure><img src="/files/l5AUrvKWKduAmgLhWNWO" alt=""><figcaption></figcaption></figure>

Select the "TCP" connection type.

<figure><img src="/files/hXXTfR0iQveUiT2IjxLG" alt=""><figcaption></figcaption></figure>

Next, specify the proxy connection.

Select the connection protocol that is convenient for you. HTTP is used by default.

{% hint style="info" %}
**You can find a proxy setup example in the** [**Setup guide**](/eng/usage-instructions/getting-started.md) **section**
{% endhint %}

<figure><img src="/files/Y0fUg8bPasuAgoaPQ3zp" alt=""><figcaption></figcaption></figure>

Then check the connection and save it.

<figure><img src="/files/91Fp00NFVvJe1LpptQyB" alt=""><figcaption></figcaption></figure>

**Done! You can now use Telegram with our proxies.**

### Proxy setup for the Mobile version of Telegram

To set up a proxy on your phone, open settings and select "Data and Storage".

<figure><img src="/files/zRayrUOGjfTFM7UA3z90" alt="" width="375"><figcaption></figcaption></figure>

Then select "Proxy".

<figure><img src="/files/qfmFRVa3dLmsiAoomhL3" alt="" width="375"><figcaption></figcaption></figure>

Select the SOCKS5 protocol and enter the proxy connection details.

<figure><img src="/files/9EUWZCMJIeFMDKIA72Jf" alt="" width="375"><figcaption></figcaption></figure>

Make sure to save the setting, and then you can use the proxy inside *Telegram.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.proxyshard.com/eng/usage-instructions/telegram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
