@knotfive/chatpi-client-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.30 • Public • Published

Javascript Client for ChatPi

For api docs: Globals

###Usage Create a connection obj. And then push to a channel

`js const connection = new Connection({ url, apiKey, channelIds, userToken, authorizationToken, onPresenceChange, })

sendMessage({ channel: 'cf4aeae1-cda7-41f3-adf7-9b2bb377be7d4', message: { text: 'hi', }, }).then((response) => console.log(response)) `

Readme

Keywords

none

Package Sidebar

Install

npm i @knotfive/chatpi-client-js

Weekly Downloads

7

Version

0.0.30

License

ISC

Unpacked Size

343 kB

Total Files

45

Last publish

Collaborators

  • arcq