yym68686/ChatGPT-Telegram-Bot ? reverse-engineered prompt

Reverse engineered prompt

Build me a Telegram AI chat bot called TeleChat that feels fast and easy to use.

I want people to chat with it in private chats, groups, and inline mode, and have it answer using an OpenAI compatible model by default, with the option to switch models from inside Telegram. It should support streaming replies, handle long messages cleanly, and keep conversations separate for different users, with a group topic mode too.

It should also be able to work with uploaded voice notes, audio, images, PDFs, text files, markdown, and Python files, and include web search, URL summarizing, arXiv summarizing, and a simple code helper. Please make the replies render nicely in Telegram markdown.

Set it up so it can be deployed with Docker and on services like Fly.io, Replit, or Zeabur. Use environment variables for the bot token, API key, default model, search settings, and access control like whitelist, blacklist, and admins. If you need to check current docs for Telegram or model APIs, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab