leaveRoom

abstract suspend fun leaveRoom(roomId: String, reason: String? = null)

Leave the room, or reject an invitation.

Parameters

roomId

the roomId of the room to leave

reason

optional reason for leaving the room