@pubnub/chat
v0.9.5
Published
PubNub JavaScript Chat SDK
Downloads
5,041
Keywords
Readme
PubNub JavaScript Chat SDK
Chat SDK offers a set of handy methods to create your own feature-rich chat or add a chat to your existing application.
Supported frameworks
Chat SDK is written in TypeScript and relies on the existing JavaScript SDK. It's framework-agnostic and lets you build a chat app using any JavaScript-based framework, like:
- React
- React Native
- Vue
- Angular
Features
Chat SDK offers a wide range of features to build direct, group, and public chats.
Explore these documentation sections for details:
- Channels - manage channels, join or leave them, invite other chat members, or reference channel names in messages through hashtags.
- Users - manage users, track user's presence, mention users, manage permissions or report users for misbehaving.
- Messages - manage messages, add reactions, forward messages to others, pin them to channels, add quotes or links, create threads or send files, report offensive messages, or shows users how many messages they missed while they were offline through unread messages.
Also, add typing indicators, push notifications, and more.
Samples
Test our TypeScript sample chat apps created in various JavaScript frameworks:
| Source code | Framework | Description | | :------------------------------------------------------------------------------------------ | :----------- | :--------------------------------------------------------------------------------------- | | Direct chat | React | Basic 1:1 support chat letting you exchange messages between a user and a support agent. | | Group chat | React Native | Feature-full group chat letting you test most of the features offered by the Chat SDK. |
Chat SDK docs
You'll find all the information about working with Chat SDK in the official PubNub Chat SDK documentation.