twilio-ip-messaging
v0.10.12
Published
A library for Twilio IP messaging
Downloads
29
Readme
Twilio IP Messaging client library
Twilio IP Messaging is a service for messages delivery over ip networks. Visit our official site for more detalis: https://www.twilio.com/ip-messaging
Instantiating and using
To use the library you will need:
- generate a token
- create an instance of AccessManager class from twilio-common library.
var accessManager = new Twilio.AccessManager(token);
var client = new Twilio.IPMessaging.Client(accessManager);
client.initialize()
.then(function() {
// Hey! I can start using a library!
});
Consuming a library
You can consume the library from NPM:
npm install twilio-ip-messaging
For browser you can use version from CDN:
<script src="//media.twiliocdn.com/sdk/js/ip-messaging/v0.10/twilio-ip-messaging.min.js"></script>