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

    Function refreshQR

    • Refresh the current QRCode when is waiting for scan and return the current code

      For legacy: It will wait for next code For multidevice: It will generate a new one

      Returns Promise<AuthCode>

      await WPP.conn.refreshQR();