# Telegram Business

> Connect your Telegram Business account so customer chats reach the shared inbox and your team and GiovBot reply from Giov.

The Telegram Business channel connects your Telegram Business account to Giov. Customers keep writing to you in Telegram, their messages arrive in **Inbox** next to your other channels, and your team and GiovBot reply from there. Giov works through its official bot and Telegram's Chat Automation, so you don't need a bot token.

Telegram Business is included in Business and Advanced. On Starter, Pro and the 7-day Pro trial, the page shows **Telegram Business is not included in this plan** and a **View plans** button.

## Plans and limits

| Plan | Telegram accounts |
|---|---|
| Starter | Not included |
| Pro | Not included |
| Business | 1 |
| Advanced | 1 |

Each workspace connects one Telegram Business account. Admins and developers can connect, reconnect and disconnect it.

| Limit | Value |
|---|---|
| Reply window | 24 hours after the customer's latest message |
| Text in one message | 4,096 characters. Longer replies are split into several messages. |
| Attachments you send | Each file up to 10 MB, and 10 MB in total per message |

## Before you start

You need the Telegram account you want to connect, and access to **Settings → Chat Automation** in Telegram. Telegram Premium isn't required, and neither is a bot token.

## Connect your account

1. Open **Settings → Channels**. On the **Telegram Business** row, select **Set up**.
2. Select **Connect account**. Giov shows a one-time link and instructions.
3. Select **Open Telegram**. Telegram opens the official Giov bot. Press **Start** to pair your Telegram account with the workspace.
4. In the same Telegram account, open **Settings → Chat Automation**, add the Giov bot, and allow it to read and reply to your selected chats. On Telegram Desktop, close the Chat Automation dialog to save.
5. Back in Giov, select **Check connection**. The status changes to **Connected**.

You must use the same Telegram account in steps 3 and 4. The page then shows the account name and its **Account identifier**. Under **Messaging access** it shows when Giov last received and last sent a message.

The link works once and expires after 10 minutes. Under the button, Giov shows when it expires. If it has expired, or you want to start over, select **Generate new link**.

## How Telegram works in Giov

- **Incoming messages** from the chats you allowed become conversations in **Inbox**. A message from a customer whose conversation is closed reopens it.
- **The 24-hour window.** You can reply for 24 hours after the customer's latest message, and each new customer message restarts the 24 hours. After that, a reply you send is **blocked** and doesn't reach the customer. Telegram has no templates in Giov, so wait for the customer to write again.
- **Replies from Telegram.** What you write yourself in a customer's chat in Telegram appears in the conversation as an outgoing message, and cancels GiovBot's pending answer to the same customer message.
- **Edits and deletions.** When a message is edited, the conversation shows the new text. When a message is deleted, the thread shows "[Message deleted]".
- **Quoted replies.** You can reply to a specific message, and the customer sees it quoted.
- **Attachments from customers.** Photos, documents, audio and voice messages come in and are saved with the conversation, up to 25 MB each. Videos, stickers, locations and contacts aren't imported: a message with only one of these shows "[Unsupported Telegram message]".
- **Attachments you send.** Images, documents and audio: JPEG, PNG, GIF, WebP, PDF, plain text, CSV, Word, Excel, PowerPoint, and MP3, MP4, OGG, WebM or WAV audio. Text and each attachment go out as separate messages.
- **Delivery status.** Telegram doesn't report delivered or read, so a message stays **sent**. A message Telegram refuses shows **failed**.
- **GiovBot** answers on Telegram when you assign it. See [GiovBot](/docs/giovbot). GiovBot only answers inside the 24-hour window.
- **Contacts.** The customer's name comes from their Telegram first and last name, or their username. A Telegram customer isn't merged automatically into contacts from other channels. An admin can merge duplicates from the contact list.

### Turn GiovBot on

Choose the agent and switch on **Auto-replies** for Telegram in **GiovBot → Workspace settings → GiovBot on your channels**. If a teammate takes the conversation, GiovBot stops and the thread stays with your team. See [Handoff](/docs/giovbot/handoff).

## Conversation history

Telegram brings in new activity only. Messages from before you connect aren't imported.

## Buttons and cards

Quick replies and cards from your team and GiovBot show like this on Telegram. See [Buttons, forms and cards](/docs/widget/rich-messages) for the blocks themselves.

| Block | What the customer sees |
|---|---|
| Quick replies | The choices as a numbered list in the message text. The customer answers by typing. |
| Link buttons | Buttons under the message, one per link. |
| Cards | A photo with the card's title, price and details as the caption, for the first 5 cards that have an https image. Other cards are sent as text. |
| Form | The questions, as text. Forms work in the website chat only. |

## Ratings

After a conversation, you can ask the customer to rate it. You can ask yourself from **More actions → Request rating**, or turn on **Ask on close** in **Settings → Company → Ratings** to ask when a conversation closes.

On Telegram the customer gets the message "How did we do? Please rate this conversation." with a one-time keyboard of five buttons: **1 - Very bad**, **2 - Bad**, **3 - Okay**, **4 - Good** and **5 - Great**. The request goes out only inside the 24-hour window. If the window has closed, no request is sent.

A tap on a keyboard button reaches Giov as an ordinary message, so Giov counts it as an answer only in these cases:

- The request is the newest message in the chat, and the customer hasn't written since.
- It was sent within the last 30 minutes.
- The message is exactly the button's text, such as "4 - Good", or a single digit from 1 to 5.

A "3" in the middle of a normal chat is never a rating. A rating answer doesn't reopen a closed conversation and doesn't reach GiovBot. If the conversation is closed, the customer is then asked "Thanks! Add a comment?" with a **Skip** button, and their next message within 10 minutes is saved as the comment. If the conversation is still open, they just get "Thanks!".

The helpful and not helpful votes on GiovBot answers are collected in the website chat and the mobile SDKs, not on Telegram.

## Reconnect or disconnect

If you remove the Giov bot in **Settings → Chat Automation**, or take away its right to reply, sending pauses. The status changes to **Reconnect required**, and the page shows "Telegram Business access was revoked." or "Telegram Business reply permission is required." Admins get a notification.

To fix it, add the bot again with the right to reply. The status returns to **Connected** on its own, and you can select **Check connection** to refresh. If that doesn't work, select **Reconnect account**, then **Open Telegram** and follow the steps above. Giov also checks the connection about once a day. If a problem looks temporary, the status shows **Needs attention** and clears on its own when the check succeeds.

To disconnect, select **Disconnect**, then **Disconnect account** in the confirmation. Giov stops receiving and sending through the account and switches off GiovBot's auto-replies for Telegram. Conversations stay in your inbox. If you connect again, switch the auto-replies back on in **GiovBot → Workspace settings**.

To use a different Telegram account, disconnect first and connect the new one. Conversations from the earlier account stay in your inbox, but replies to them are blocked.

## Changing plan

Giov keeps your Telegram conversations when you move to a plan without Telegram Business. The page then shows **Not on your plan**, you can't connect an account, and replies to Telegram conversations aren't sent until you move back to Business or Advanced.

## Troubleshooting

| Problem | What to check |
|---|---|
| The link doesn't work | It works once and expires after 10 minutes. Select **Generate new link**. |
| The status doesn't change after you add the bot | Use the same Telegram account for **Start** and for **Chat Automation**. Allow the bot to read and reply, and on Telegram Desktop close the dialog to save. Then select **Check connection**. |
| The status shows **Reconnect required** | Add the bot again in **Settings → Chat Automation** with the right to reply, or select **Reconnect account**. |
| A customer's chat doesn't arrive | Check that the chat is one the bot is allowed to read in **Chat Automation**. |
| A reply shows **blocked** | The 24-hour window has closed. Wait for the customer to write again. |
| A reply shows **failed** | Open **Settings → Channels → Telegram Business** to see the last error. |
| A customer's video, sticker or location shows as unsupported | Giov imports text, photos, documents, audio and voice messages only. |

See [Channels](/docs/channels) for how all channels share the inbox.
