@wppconnect-team/wppconnect - v1.36.4
    Preparing search index...

    Function getAuthCode

    • Return the current auth code

      Returns Promise<AuthCode>

      [return description]

      const authCode = await WPP.conn.getAuthCode();
      console.log(authCode.fullCode); // Output: a long string to generate a QRCode