Modern - Source written with ES6/ES7 syntax and great async await supports.
Modular - Use session stores, server framework adapters and platform connectors with same interface.
Learn Once, Write Anywhere - Handle multiple platforms with consistent development experience.
Bottender is built on top of Messaging APIs.
You can install Bottender globally to use the cli tools:
npm install -g bottender
Or install it locally to use it programmatically:
npm install bottender
You can find the Bottender documentation on the website.
- Getting Started
- API Reference
We have a bunch of examples in the examples folder. Here is the first one to get you started:
const ConsoleBot = ;const bot = ;bot;bot;
This will create and run a bot which always reply "Hello World" in the console.
You'll notice that there is an async function to be passed to the
method, we call it handler. You can put your bot logic in there.
- Messenger Profile Sync
- Attachment Upload
- Handover Protocol
- Targeting Broadcast Messages
- Built-in NLP
- Multiple Pages
- Reply, Push, Multicast
- Rich Menu
- Room, Group Chat
- Channel Chat
- Interactive Message
- Webhook, Long Polling
- Update, Delete Messages
- Group Chat
- Inline Query
- Message Live Location
- Subscribed, Unsubscribed Event
- Delivered, Seen Event
- bottender-compose - An utility library for Bottender and higher-order handlers.
Pull Requests and issue reports are welcome. You can follow steps below to submit your pull requests:
Fork, then clone the repo:
git clone email@example.com:your-username/bottender.git
Install the dependencies:
Make sure the tests pass (including eslint, flow checks and jest tests):
Make your changes and tests, and make sure the tests pass.
MIT © Yoctol