Determines if the messages modal is visible.
Function to close the messages modal.
Optional
onFunction to handle sending messages. Defaults to the imported sendMessage function.
Array of message objects to display.
Optional
positionPosition of the modal on the screen. Possible values: 'topRight', 'topLeft', 'bottomRight', 'bottomLeft'.
Optional
backgroundBackground color of the modal.
Optional
activeBackground color of the active tab.
Type of the event (e.g., webinar, conference, broadcast, chat).
Current member's username.
Level of the user.
Array of co-host responsibilities.
Co-host's username.
Flag to start a direct message.
Details of the direct message.
Function to update the start direct message flag.
Function to update direct message details.
Optional
showFunction to show alerts.
Name of the chat room.
Socket object for real-time communication.
Settings for the chat.
Interface defining the props for the MessagesModal component.