# Telegram

## What does it allow?

This channel allows you to fully automate communication with customers.

## Connection

### Connecting Suvvy to a bot in Telegram

1. To connect Telegram to your bot in Suvvy, go to the "Channels" section and select Telegram.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FJlW7xoemUpiFxgy8EpDk%2Fimage.png?alt=media&#x26;token=73ba7baf-9f7d-4de5-a1ff-b610211eca4a" alt=""><figcaption></figcaption></figure>

2. We see a field where we need to enter a token. A token is a unique user identifier in Telegram. It allows servers to identify requests; it encrypts access to the channel bot so that fraudsters do not obtain it.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FIrrOcMg4Yk9RNxnfqBj9%2Fimage.png?alt=media&#x26;token=5630d560-5dc2-43e2-b163-0271248b21c9" alt=""><figcaption></figcaption></figure>

3. To get the token, you need to type @BotFather in the Telegram search bar.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2Fgit-blob-b9383d69c1b237216c0967a6f6d7c0c6ddb7129c%2FPic4.png?alt=media" alt=""><figcaption></figcaption></figure>

4. By clicking on the Start button, we receive a list of commands that this bot can execute. If our task is to get the token of an existing bot, then we need to select the /token command.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2Fgit-blob-5916e2a33b97f10b02344d65f920e879dbca2649%2Fic5.png?alt=media" alt=""><figcaption></figcaption></figure>

5. After you have received the token in BotFather, enter it in the Telegram field and click "Save."

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FuyA6YDW7mNdQPo0o0LvN%2Fimage.png?alt=media&#x26;token=e3b16c8d-3bb8-4f39-8221-097e532319dd" alt=""><figcaption></figcaption></figure>

6. Next, the following settings will appear:

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FdS98JxBqh7m4bZ9Fj9Pr%2Fimage.png?alt=media&#x26;token=a6180308-70ef-499c-9be1-1ca31db50f25" alt=""><figcaption></figcaption></figure>

If we set a Greeting message in the Message field for the /start command, the bot will always write it when a client contacts the Telegram bot, which is already connected to Suvvy:

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FVNqeDzkRhlt09MX2F8sm%2Fimage.png?alt=media&#x26;token=827a53e6-62c7-4290-9e7b-469182d8ac5c" alt=""><figcaption></figcaption></figure>

### Connecting Suvvy to an individual account

If you have Telegram Business, you can connect Suvvy to an individual Telegram account. For this, there is a designated User ID field.

{% hint style="info" %}
On March 31, 2024, Telegram released a useful update — the ability to link a chatbot to a business account and conduct bot communication with clients not only in bot mode but also when users message the familiar Telegram account.
{% endhint %}

NOTE: Telegram Premium is needed for this.

1. You need to send the /start command to the bot [@PremiumBot](https://t.me/PremiumBot).
2. Next, payment is required for the duration you want to keep Premium.
3. After payment, go to @BotFather, click `/mybots`, and select the desired bot.
4. Then select Bot Settings.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2F7s4bz2IBJLQnl4rsowMd%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2002-10-2025%20191338.jpg?alt=media&#x26;token=292b40a7-8b79-4aae-a2c4-943aae5e63ce" alt="" width="373"><figcaption></figcaption></figure>

4. Click on Business Mode.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FlRsrYh3df83L4c9a0NLn%2Fimage.png?alt=media&#x26;token=601bc1fc-3099-4adc-acdb-3d6383adad7f" alt="" width="341"><figcaption></figcaption></figure>

6. Then select `Turn On`.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FsBBouMil6z2yDJPgNXMm%2Fimage.png?alt=media&#x26;token=d2ffb934-2df7-4e39-88b6-9bffd7b9b324" alt=""><figcaption></figcaption></figure>

### Connecting Telegram Business

1. It is important to update Telegram to the latest version.
2. Then go to account settings.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FbzTrjoFTaxzQUho48EZg%2Fimage.png?alt=media&#x26;token=9761c34c-f563-4b3e-b727-002b964692b2" alt=""><figcaption></figcaption></figure>

1. Next, go to the "Chat Bots" section.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2Fullq0EDgnVjfHUiXDiHQ%2Fimage.png?alt=media&#x26;token=4f9047c8-3030-4e90-8246-d917a4adf4f5" alt=""><figcaption></figcaption></figure>

1. Enter our bot's username in the "Bot Username" field.

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FNWgXfs6qHBdH9bJnOvqs%2Fimage.png?alt=media&#x26;token=dde3e5dc-a9ee-4d2f-a8cf-5e5dead09917" alt=""><figcaption></figcaption></figure>

6. Click "Add."

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FASmyNaYSv5LJj9d1QDhd%2Fimage.png?alt=media&#x26;token=516ac071-c1d6-41e2-9615-221ecc458a29" alt=""><figcaption></figcaption></figure>

## Disabling bot responses

If, for some reason, you temporarily need to disable bot responses in Telegram, mark the "Bot Responses:" setting as "Disabled."

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2F8ChO1ue0kIw0c4vevTSL%2Fimage.png?alt=media&#x26;token=4fafe9b8-7a26-4774-942b-6e8f833a1fe2" alt=""><figcaption></figcaption></figure>
