getStateEvents

abstract fun getStateEvents(eventTypes: Set<String>, stateKey: QueryStateEventValue): List<Event>

Get state events of the room.

Parameters

eventTypes

Set of eventType. If empty, all state events will be returned

stateKey

the query which will be done on the stateKey