New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zoomus/chatbot

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zoomus/chatbot - npm Package Compare versions

Comparing version 0.2.9 to 0.3.0

2

package.json
{
"name": "@zoomus/chatbot",
"version": "0.2.9",
"version": "0.3.0",
"description": "Zoom Node.js Chatbot Library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -54,11 +54,11 @@ # Zoom Node.js Chatbot Library

We need to capture requests sent to our Redirect and Bot Endpoint URLs. To do this we will setup an express route that matches our Bot JID Endpoint.
To capture requests sent to our Bot endpoint URL, setup an express route that matches the path on our Bot endpoint URL.
**Commands** are typed by a user via a slash command. For example `/vote Golden State is the Best Basketball team`
**Commands** are slash commands a user types in Zoom Chat to interact with your Chatbot.
**Actions** are user triggered events that come from the [Editable Text](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-editable-text), [Form Field](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-form-field), [Dropdown](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-dropdown), or [Buttons](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-buttons) message types. For example a when a user clicks either the Upvote, or Downvote button.
**Actions** are user interaction events with the [Editable Text](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-editable-text), [Form Field](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-form-field), [Dropdown](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-dropdown), or [Buttons](https://marketplace.zoom.us/docs/guides/chatbots/customizing-messages/message-with-buttons) message types in Zoom Chat.
### Receiving Commands and Actions
This piece of code will receive any Chatbot commands and actions, and handle them by passing the request data to the event handler. Based on if the event is a command or action, the respective event listener function will be called.
This express post route will receive all Chatbot commands and actions, and handle them by passing the request data to the event handler. Based on if the event is a command or action, the respective event listener function will be called.

@@ -65,0 +65,0 @@ ```javascript

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc