yagop/node-telegram-bot-api — reverse-engineered prompt
Reverse engineered prompt
Build me a Node.js library that makes it simple to create Telegram bots without dealing with the raw Telegram Bot API directly.
I want a developer to be able to install it, add their bot token from BotFather, start the bot with polling, listen for normal messages, listen for commands like /echo hello, and send replies back to the same chat. Keep the first example really small and friendly so someone can copy it and have a working bot in a few minutes.
Please include clear documentation, a basic usage guide, examples for common bot actions, and an API reference style doc for the main methods and events. Make the project feel like a real npm package, with tests, linting, a changelog, license, and contribution notes. It should be written in JavaScript for Node.js, and it should follow the current official Telegram Bot API behavior. Look up the Telegram docs online if you need to.
Want more depth? Deep Reverse