@tridentity/tri-com-be-sdk
v0.0.5
Published
The Tri Communication SDK is a tool designed to integrate with the Tri Communication Service, providing key communication functionalities such as sending messages, notifications, creating chat rooms, and user authentication.
Downloads
313
Readme
Tridentity Communication Service SDK
The Tri Communication SDK is a tool designed to integrate with the Tri Communication Service, providing key communication functionalities such as sending messages, notifications, creating chat rooms, and user authentication.
Installation
First, install the SDK in your project:
npm install --save @tridentity/tri-com-be-sdk
Initialization
To initialize, provide the API baseURL, clientId, and clientSecret.
const client = new TriCommunicationClient({
url: "https://communication-service.stag.tribox.me",
clientId: "YOUR_CLIENT_ID",
clientSecret: "YOUR_CLIENT_SECRET",
});
Notes
- Ensure that your
clientId
andclientSecret
is kept secure and not shared publicly. - Always handle network and server errors when using the SDK.
Contact
For more details or support, please contact the Tri Communication development team.