setSpaceParent

abstract suspend fun setSpaceParent(    childRoomId: String,     parentSpaceId: String,     canonical: Boolean,     viaServers: List<String>)

Let this room declare that it has a parent.

Parameters

childRoomId

the space to set as a child

parentSpaceId

the parentId which will be set

canonical

true if it should be the main parent of this room

viaServers

list of candidate servers that can be used to set the parent In practice, well behaved rooms should only have one canonical parent, but given this is not enforced: if multiple are present the client should select the one with the lowest room ID, as determined via a lexicographic utf-8 ordering.