ShivangKakkar/StringSessionBot ? reverse-engineered prompt

Reverse engineered prompt

Build me a Telegram bot that helps people generate string sessions for both Pyrogram and Telethon.

I want users to be able to start the bot, enter the info it needs, and get back their session string in a simple, friendly way. It should support Pyrogram user sessions, Pyrogram bot sessions, both major Pyrogram versions, and Telethon sessions. Please make it easy to run locally with environment variables like API ID, API hash, bot token, and an optional channel or group join check.

It should also be ready for easy deployment on Heroku or a similar service, and use a database if needed. Keep the flow simple, clear, and safe, since people will be using it to generate login sessions for their own Telegram accounts. If anything is unclear, look up the current docs online and match the usual behavior for these Telegram libraries.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab