Messages plugin for the Cisco Webex JS SDK.
npm install --save @webex/plugin-messages
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.
npm install --save @webex/plugin-messages
const Webex = require('webex');
const webex = Webex.init();
webex.messages.get(id).then((message) => {
console.log(message);
});
This package is maintained by Cisco Webex for Developers.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.