This repository contains a fully functional RingCentral team messaging bot. It can serve as a starting point for people looking to build their own bot using Node JS.
For complete step-by-step instructions on how to build a bot for RingCentral using the code in this repository, please consult the RingCentral Developer Guide.
This sample implementation is a basic framework for building a bot. That framework includes the following:
- A rudimentary system to respond to keywords transmitted to the bot, and ignore messages posted by the bot
- A way to post adaptive cards and respond to their input
- WebHooks subscription code to maintain active subscriptions for team messaging events
- A cache for auth credentials for private bots
- ngrok - a tool that lets you create a secure tunnel to your localhost
- RingCentral developer account
Something does not work as expected or perhaps you think this module needs a feature? Please open an issue using GitHub's issue tracker. Please be as specific and straightforward as possible.
Pull Requests (PRs) are welcome. Make sure you follow the same basic stylistic conventions as the original code (i.e. "JavaScript standard code style"). Your changes must be concise and focus on solving a single problem.