MediaSFU React Native
    Preparing search index...

    Function clickChat

    • Toggles the visibility of the chat modal based on the current state and event settings.

      Parameters

      • options: ClickChatOptions

        The options for the clickChat function.

        • isMessagesModalVisible: boolean
        • updateIsMessagesModalVisible: (isVisible: boolean) => void
        • chatSetting: string
        • islevel: string
        • OptionalshowAlert?: ShowAlert

      Returns Promise<void>

      A promise that resolves when the operation is complete.

      clickChat({
      isMessagesModalVisible: false,
      updateIsMessagesModalVisible: setIsMessagesModalVisible,
      chatSetting: "allow",
      islevel: "1",
      showAlert: showAlertFunction
      });