Private Channel

Private Channel

All private Chats are created under the globalChannel + '#chat#private.*' namespace. This namespace is locked down and no Users have read or write access by default: Users must be affirmatively granted access to private channels.

let privateChat = new Chat('private-channel', true);
console.log(privateChat.channel);
// privateChat.channel == "chat-engine#chat#private.#private-channel"