An event driven messenger chatbot library
The event-driven approach makes easy to deliver business needs with subscribing necessary events and processing them without changing other parts of your code base.
Since Facebook Messenger Platform sends webhook and expects an HTTP 200 response code in the majority of webhooks, messenger_bot
library allows you to subscribe webhook events and process these events in multiple consumers separately.
Here is the library source code: https://github.com/mustafaturan/messenger_bot
Read next Organize and serve page specific javascript in Phoenix