getAccountDataEvents

abstract fun getAccountDataEvents(types: Set<String>): List<RoomAccountDataEvent>

Retrieve the account data with the provided types. The return list can have a different size that the size of the types set, because some AccountData may not exist. If an empty set is provided, all the AccountData are retrieved.