querySpaceChildren

abstract suspend fun querySpaceChildren(    spaceId: String,     suggestedOnly: Boolean? = null,     limit: Int? = null,     from: String? = null,     knownStateList: List<SpaceChildSummaryEvent>? = null): SpaceHierarchyData

Get's information of a space by querying the server.

Parameters

spaceId

the spaceId to look for.

suggestedOnly

If true, return only child events and rooms where the m.space.child event has suggested: true.

limit

a client-defined limit to the maximum number of rooms to return per page. Must be a non-negative integer.

from

Optional. Pagination token given to retrieve the next set of rooms. Note that if a pagination token is provided, then the parameters given for suggested_only and max_depth must be the same.

knownStateList

when paginating, pass back the m.space.child state events