@webex/plugin-messages
Messages plugin for the Cisco Webex JS SDK.
Install
npm install --save @webex/plugin-messages
Usage
This is a plugin for the Cisco Webex JS SDK. While most of the functionality of this plugin can be utilized using specific scopes, such as spark:messages_read
and spark:messages_write
, utilizing the listen()
method of this plugin will require both spark:all
and spark:kms
. Please note that by toggling an application's spark:all
scope via the portal will also toggle its spark:kms
scope. Please see our developer portal and the API docs for full details.
Install
npm install --save @webex/plugin-messages
Usage
const Webex = require('webex');
const webex = Webex.init();
webex.messages.get(id).then((message) => {
console.log(message);
});
Maintainers
This package is maintained by Cisco Webex for Developers.
Contribute
Pull requests welcome. Please see CONTRIBUTING.md for more details.
License
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.