Whether the modal is currently visible
Callback when modal is closed
Optional
onFunction to handle sending messages (default: sendMessage)
Direct Messaging:
Array of message objects to display (group and direct messages)
Optional
positionScreen position where the modal should appear
Styling:
Optional
backgroundBackground color of the modal
Optional
activeBackground color of the active tab
Type of event ('conference', 'webinar', 'broadcast', 'chat')
Current user's username/member ID
Current user's level/role ('0'=participant, '1'=moderator, '2'=host)
Co-host permissions
Co-host user ID
Session Info:
Flag to initiate direct message mode
Target participant for direct message
Update direct message mode flag
Set DM recipient
User Context:
Optional
showFunction to display alerts/notifications
Advanced Render Overrides:
Name/ID of the current room
Socket.io client for real-time communication
Chat visibility settings ('allow', 'disallow', etc.)
Message Handling:
Optional
styleAdditional custom styles for the modal container
Messages Data:
Optional
renderFunction to wrap or replace the default modal content
Optional
renderFunction to wrap or replace the entire modal container
Interface defining the props for the MessagesModal component.
MessagesModal provides a tabbed interface for viewing and sending group messages and direct messages with real-time updates.
MessagesModalOptions
Display Control: