Quick Start
Breakout groups are temporary groups where users are members only for the duration that they are online. These are also well suited for grouping larger online number of users into smaller more manageable breakout groups.
Breakout groups do not require the existence of a group or a user, since you need to pass in this information to the joinBreakout
Add the Breakout Dependency
NPM
First, install via npm
npm install @cometchat-pro/breakout@0.0.3 --save
Then, import the breakout package and execute it.
import * as breakout from "@cometchat-pro/breakout";
breakout;
HTML (via CDN)
Include the Breakout Javascript library in your HTML code
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/breakout@0.0.3/breakout.js"></script>
To learn more, please refer to our Documentation: Documentation
Note
Please make sure you import the CometChat Pro JS SDK (v2.0.11+) before importing the Breakout library.