Controls visibility of the chat modal.
Invoked when the modal should close.
Messaging:
Optional
onHandler triggered when sending a message.
Collection of messages to render within the panel.
Appearance:
Optional
positionPreferred anchor position.
Optional
backgroundSurface color of the modal.
Optional
activeHighlight color for the active tab.
Session type directing permissions and UI.
Display name of the current user.
Permission level for the current user.
Matrix describing co-host capabilities.
Co-host identifier.
Flag that determines whether direct message mode is active.
Target participant for direct messaging.
State setter for direct message mode.
Setter for direct message context.
Alerts:
Optional
showOptional alert callback for user feedback.
Advanced Render Overrides:
Active room identifier.
Socket.io connection for real-time updates.
Chat configuration toggle (e.g., 'all' | 'hostOnly'
).
Direct Messaging:
Optional
styleAdditional styles merged into the modal container.
Session Context:
Optional
renderOverride for the default chat panel layout.
Optional
renderOverride for wrapping the modal with custom UI (e.g., animated containers).
Configuration options for the
MessagesModal
component.MessagesModalOptions
Modal Control: