← Open-source Telegram bots

tbxark/ChatGPT-Telegram-Workers: source audit, 2026-10-10

Read from the source at commit 0d152e567a2b; the bot was not run (it needs a BotFather token). Each answer cites the file and line that shows it. All 20 bots

In short

Deny by default: only ADMIN_ID and IDs you add get answers, unless you switch on Allow All Users. Set TELEGRAM_SECRET_TOKEN too, or webhook updates are not verified.

What the source shows

AnswerWhere
Who can use itServes nobody until you list your Telegram IDpackages/lib/core/src/bot/handler/handlers.ts:112-119 — only allowedUserIds and ADMIN_ID pass; others get the not-in-the-white-list reply
With no allowlist setallowAllUsers default false; allowedUserIds default []; ADMIN_ID always allowedpackages/lib/config/src/defaults.ts:18-20 — allowAllUsers: false, allowedUserIds: [], allowedGroupIds: []
What it can doChat onlychat only, runs on Cloudflare Workers; nothing executes on a host
Bot tokenRead from the environment or a config file; no real token is committed