@wppconnect/wa-js - v3.19.3
    Preparing search index...

    Function openChatFromUnread

    • Open the chat in the WhatsApp interface from first unread message

      Parameters

      • chatId: string | Wid
      • OptionalchatEntryPoint: string

      Returns Promise<boolean>

      await WPP.chat.openChatFromUnread('[number]@c.us');
      

      chatEntryPoint Optional chat entry point: "Chatlist" for any existing chat in the left panel, undefined for any other case.