Joins a user to a specified room via a socket connection.
The options for joining the room.
A promise that resolves with the data received from the 'joinRoom' event or rejects with a validation error.
Joins a user to a specified room via a socket connection.