Event
Listen for different chat-related events (like messages, user actions, etc.) and handle them as they occur.
The full list of events that can be received by the function passed to addEventListener
. An event is an object with two keys: type
and data
.
Last updated