getStateEvent

abstract suspend fun getStateEvent(type: String, roomId: RoomId, stateKey: String = "", asUserId: UserId? = null): Result<StateEventContent>

See also

GetStateEvent