MediaSFU React Native
    Preparing search index...

    Function launchMessages

    • 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.

      Parameters

      Returns void

      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.