Class ReceiptContent
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,ReceiptInfo>
-
- io.github.ma1uta.matrix.event.content.ReceiptContent
-
- All Implemented Interfaces:
EventContent
,Serializable
,Cloneable
,Map<String,ReceiptInfo>
public class ReceiptContent extends HashMap<String,ReceiptInfo> implements EventContent
A map of which rooms are considered 'direct' rooms for specific users is kept in account_data in an event of type m.direct. The content of this event is an object where the keys are the user IDs and values are lists of room ID strings of the 'direct' rooms for that user ID.Map EVENT_ID -> 'm.read' -> USER_ID -> ts: long
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ReceiptContent()
-
Method Summary
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-