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

    Function queryExists

    • Check if the number exists and what is correct ID

      This help to identify numbers with nine digit in Brazil

      Parameters

      • contactId: string | Wid

      Returns Promise<QueryExistsResult | null>

      const result = await WPP.contact.queryExists('[number]@c.us');
      console.log(result.wid); // Correct ID