• Return the current logged user ID without device id

    Returns Wid | undefined

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