RelayCallleaveRoomCopy page|View as Markdown|Open in Claude|More actionsLeave the current room. Parameters Returns Promise<Record<string, unknown>> — Server response confirming the leave. Example import { RelayClient } from '@signalwire/sdk';const client = new RelayClient({ project: process.env.SIGNALWIRE_PROJECT_ID!, token: process.env.SIGNALWIRE_API_TOKEN!, contexts: ['default']});client.onCall(async (call) => { await call.answer(); // Join a room await call.joinRoom('meeting-room-1'); // Later, leave the room await call.leaveRoom(); await call.hangup();});await client.run();