peppelg/EzTG ? reverse-engineered prompt

Reverse engineered prompt

Build me a minimal Telegram Bot API framework that works in both PHP and Python, with a simple version for sync use and an async version for Python too. I want the method names to match Telegram’s API so I can call things like sendMessage without having to learn a new style, and I want it to be really easy to use from a single file or very small setup.

Please include a tiny example for sending a message and show how to grab the chat id from an incoming update. If it helps, add a basic example bot script for both languages so I can copy it and start testing right away. Keep it lightweight and straightforward, with clean docs in the README that explain how to get started and how to call the main methods. If you need to check the current Telegram Bot API details, 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