• Return the current logged user ID with device id

    Returns Wid | undefined

    const wid = WPP.conn.getMyDeviceId();
    console.log(wid.toString()); // Output: 123:4@c.us