Toggles the visibility of the chat modal based on the current state and event settings.
clickChat({ isMessagesModalVisible: false, updateIsMessagesModalVisible: setIsMessagesModalVisible, chatSetting: "allow", islevel: "1", showAlert: showAlertFunction}); Copy
clickChat({ isMessagesModalVisible: false, updateIsMessagesModalVisible: setIsMessagesModalVisible, chatSetting: "allow", islevel: "1", showAlert: showAlertFunction});
The options for the clickChat function.
A promise that resolves when the operation is complete.
Toggles the visibility of the chat modal based on the current state and event settings.
Example