Reverse engineered prompt

GitHub

Build me a Telegram bot that helps me figure out what CPM to pay for ads in Telegram channels. I want to message the bot with a channel handle like /analyze @channelname and get a simple but useful report with subscriber count, average views, engagement, posting activity, content quality signals, whether the channel looks eligible for ads, and a recommended CPM in three levels, conservative, competitive, and aggressive. If possible, also show the TON price converted to USD.

It should also support /find for discovering channels by niche and /market for niche level pricing benchmarks, especially for crypto, finance, tech, business, news, and entertainment. If premium or external data sources are available, use them, and if not, fall back gracefully so the bot still works.

Please make it easy to run locally with environment variables for the bot token and any optional API keys, and keep the responses clean and readable for a normal user. Look up current Telegram and data source docs online if you need to.

Have a live product UI? Try website reverse