Chat Client
The Chat Client enables real-time messaging between users. It connects to SignalWire and allows you to subscribe to channels, publish messages, and track channel members.
After instantiating, call subscribe() to join channels, then use publish() to send messages and listen for the message event to receive them. See Events for all available events.
Constructor
▸ new Chat.Client(opts): Chat.Client
Creates a new Chat Client instance.