README
Now Telegram Bot API
Simple JavaScript / TypeScript library that can be used to developt serverless Telegram chatbots, deployable on Zeit's now.sh
Usage
There's no much documentation yet, but you can find examples on the repos below, from where I extracted the code for this library.
Roughly the same files that exist here exist on those repos in the lib
folder, with telegram.ts
being the equivalent to this library's
- https://github.com/rjmunhoz/assim-telegram-bot
- https://github.com/rjmunhoz/telegram-tretascript-bot
- https://github.com/rjmunhoz/npmjs-telegram-bot
Features
Right now there aren't a lot of features / API methods available, but I'll be working on them as I have time. Also, PRs are very welcome. Please follow the Contributor Guidelines
Contributing
Well... There are no tests yet... But you can follow these steps to make sure your build doesn't break
- clone the repo
- create a branch
- make your changes
- use Gitmoji for your commit messages
- run the linter with
npm run lint
- build the lib with
npm run build
- PR 😄