Skip to main content

Chat

Eyeson meetings include a built-in temporary real-time chat functionality that enables participants to exchange messages during sessions. This feature can be leveraged and customized to support various communication needs within your application.

chat

The chat event is triggered when a chat message is received in the meeting. This event provides details about the message including the sender information, timestamp, and content.

{
type: 'chat',
user: {
name,
avatar
}
timestamp, // JavaScript Date
content
}

send_chat

The send_chat event allows you to send a chat message to all participants in the meeting. Use this method to transmit text content that will appear in the meeting chat interface for all participants to see.

eyeson.send({
type: 'send_chat',
content
});