{"repo":"itsnex1s/telegram-support-in-topics-bot","free":true,"listed":false,"github":"https://github.com/itsnex1s/telegram-support-in-topics-bot","clone":"git clone https://github.com/itsnex1s/telegram-support-in-topics-bot.git","description":"Minimal Telegram support bot that turns a forum group into a helpdesk. One dependency, no database, no webhook.","language":"TypeScript","stars":16,"topics":["bot","forum-topics","grammy","helpdesk","nodejs","support","telegram","typescript"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Telegram Support Bot Minimal Telegram support bot that turns a forum group into a helpdesk. User sends a DM → bot creates a forum topic → operator replies in the topic → reply goes back to the user. Features • How it works • Setup • Commands • Architecture • License --- Features - One dependency — grammY - Polling mode — no webhook, no HTTP server needed - JSON file persistence — no database required - Auto-reopens closed topics when users send new messages - Operator commands: close, reopen, ban, unban How it works 1. User sends a message to the bot in a private chat 2. Bot creates a Forum Topic in the staff group with the user's name 3. Message is forwarded to the newly created topic 4. Operator replies inside the topic 5. Bot copies the reply back to the user (without \"forwarded from\" label) 6. Subsequent messages from the same user go to the same topic Setup 1. Create a bot Create a bot via @BotFather and save the token. 2. Create a forum group 1. Create a group in Telegram 2. Convert it to a supergroup (Settings → Chat History → Visible) 3. Enable Topics (Settings → Topics) 4. Add the bot to the group and make it an admin with permissions: - Manage Topics - Send Messages - Delete Messages 3. Get the group ID Add @getmyid bot to the group or forward a message from the group — it will show the chat ID (a negative number like -100123456789 ). 4. Configure environment 5. Install and run Commands User commands (private chat) Command Description -------- ------------------- /s","default_branch":null,"files":null,"tree":[],"storefront":"/r/itsnex1s","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itsnex1s/telegram-support-in-topics-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}