set Space Parent
abstract suspend fun setSpaceParent( childRoomId: String, parentSpaceId: String, canonical: Boolean, viaServers: List<String>)
Content copied to clipboard
Let this room declare that it has a parent.
Parameters
child Room Id
the space to set as a child
parent Space Id
the parentId which will be set
canonical
true if it should be the main parent of this room
via Servers
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.