Events
onChatEvent
Subscribe to SDK cjat events.
Data
Type
Description
message
string
The message received from the streaming server.
chat_type
string
Type of the message.
time
string
The time the message was received.
id
string
Unique message UUID
onStatusEvent
Check the SDK connection status through events.
Data
Type
Description
status
string
Displays the current connection status of the SDK.
Last updated