p4prompt/Filestreambot-pro ? reverse-engineered prompt
Reverse engineered prompt
Build me a Telegram bot that lets people forward a media file or document and get an instant direct download link plus a stream link without waiting for the full file to download first. I want it to feel fast and simple, with a clean reply that shows the file name, size, and other basic info, and includes a clear button to get the link.
It should work in private chats and in channels too, so when a new file is posted in a channel the bot can add a Get Download Link button automatically. Add a start command, basic admin controls, password protection, and an option to require users to join an updates channel before using it. Store user data in MongoDB so broadcasting is possible later. Also make it easy to deploy on Heroku or a VPS with environment variables, and include a simple web endpoint or status check for the host. If you need current docs for Telegram or deployment settings, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit