Chat.Client
You can use the Client object to build a messaging system into the browser.
Example usage:
Constructors
constructor
- new Client(
chatOptions)
Creates a new Chat client.
Parameters
chatOptions
Configuration options for the Chat client
chatOptions.token
SignalWire Chat token that can be obtained from the REST APIs.
Example
Type Aliases
PaginationCursor
This is a utility object that aids in pagination. It is specifically used in conjunction with the getMessages method.
Properties
after
This property signifies the cursor for the subsequent page.
before
This property signifies the cursor for the preceding page.