Toggles the visibility state of the messages modal. If the modal is currently visible, it will be closed. If it's hidden, it will be opened.
Function to update the visibility state of the messages modal.
const options: LaunchMessagesOptions = { updateIsMessagesModalVisible: setModalVisibilityFunction,isMessagesModalVisible: false,};launchMessages(options);// This will open the messages modal if it's currently closed, or close it if it's open. Copy
const options: LaunchMessagesOptions = { updateIsMessagesModalVisible: setModalVisibilityFunction,isMessagesModalVisible: false,};launchMessages(options);// This will open the messages modal if it's currently closed, or close it if it's open.
Toggles the visibility state of the messages modal. If the modal is currently visible, it will be closed. If it's hidden, it will be opened.