Channel
Telegram
A customer writes to the brand’s Telegram bot, the chat becomes a ticket, and the agent’s replies arrive in the same chat.
- AI auto-reply available
- Telegram
Set it up
The outline. The guide has every field and the troubleshooting.
Like every channel, it files into the same tickets, with the same statuses, SLAs, rules and assignment.
In Telegram, send /newbot to @BotFather, pick a name and a username ending in “bot”, and copy the token. Leave privacy mode on.
In Settings › Channels › Telegram, choose Add bot, paste the token and pick the department.
Press Test. Add bot stays off until Telegram answers.
Adding the bot sets its webhook on your public HTTPS address. After changing APP_URL, press Set webhook again.
Optionally write a welcome text per language and let /start ask the customer to pick a language.
What it handles
- Several bots per brand; each bot belongs to one brand.
- Text, photos (re-encoded to WebP, with the caption as text), documents, voice notes and locations or venues, as text with an OpenStreetMap link.
- The chat id is a verified Telegram identity on the contact, and one chat has one open ticket.
- Replies with files: an image as a photo, a voice note as Opus, anything else as a document.
- Delivery states queued, sent and failed, with Retry on a failed reply.
- A satisfaction survey with 1 to 5 buttons and “Add a comment”.
- AI auto-reply, when the brand turns it on for Telegram.
Limits to know
- Private chats only: group chats, stickers, contacts, polls and other bots are ignored.
- Inbound files up to 20 MB. Outbound, an image over 10 MB goes as a document and a file over Telegram’s 50 MB is left out.
- Replies are plain text with no signature, and replies longer than 4,096 characters are split at paragraphs.
- A reply the customer blocked fails at once; other failures are retried five times.
- APP_URL must be public HTTPS on port 443, 80, 88 or 8443.
Run your help desk on your own server.
Install it with Docker Compose, read the guides, or star the repository to follow the releases.
Read the docs