unthread-telegram-bot
Turn private Telegram groups into real-time support ticket hubs — powered by Unthread.io. 🎫🤖
10K+
Official Unthread extension for Telegram support via dedicated customer and partner group chats.
This integration does three core things:
Customer (Telegram Group) -> Bot -> Unthread
|
Agent (Unthread) <- Webhook Server <- Redis Queue <- Bot
docker compose up -d
docker compose logs -f server
Reset local data:
docker compose down -v && docker compose up -d
| Variable | Purpose |
|---|---|
| TELEGRAM_BOT_TOKEN | Telegram bot token from BotFather |
| ADMIN_USERS | Telegram user ID(s) allowed to configure and manage bot setup |
| UNTHREAD_API_KEY | Unthread API key |
| UNTHREAD_SLACK_CHANNEL_ID | Unthread target channel ID |
| UNTHREAD_WEBHOOK_SECRET | Webhook secret used in Unthread integration |
| SLACK_TEAM_ID | Slack workspace/team ID required for attachment download compatibility |
| POSTGRES_URL | PostgreSQL connection string |
| WEBHOOK_REDIS_URL | Redis connection for webhook queue processing |
| PLATFORM_REDIS_URL | Redis connection for bot state and platform cache |
| Variable | Default | Notes |
|---|---|---|
| BOT_USERNAME | empty | Recommended for faster deep-link and command resolution |
| MY_COMPANY_NAME | empty | Company name used for attribution/routing context |
| DUMMY_EMAIL_DOMAIN | telegram.user | Domain for auto-generated fallback emails |
| LOG_LEVEL | info | Set to debug for detailed troubleshooting logs |
| VERBOSE_LOGGING | false | Enables verbose webhook and processing logs |
| DATABASE_SSL_VALIDATE | true | Set false for local Docker/PostgreSQL development only |
| Method | Path | Purpose |
|---|---|---|
| N/A | N/A | Bot runtime is queue-driven and does not expose a primary public API surface |
| External | Managed by unthread-webhook-server | Receives Unthread webhook events and enqueues bot work |
Licensed under GNU GPL v3.0.
Content type
Image
Digest
sha256:9b4f5fc29…
Size
63 MB
Last updated
about 2 months ago
docker pull wgtechlabs/unthread-telegram-bot:stagingPulls:
838
Last week