Package io.github.ma1uta.matrix.event
Class Direct
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<DirectContent>
-
- io.github.ma1uta.matrix.event.Direct
-
public class Direct extends Event<DirectContent>
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 USER_ID -> ROOM_ID
-
-
Constructor Summary
Constructors Constructor Description Direct()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
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.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Description copied from class:Event
Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.- Specified by:
getType
in classEvent<DirectContent>
- Returns:
- The type of the event.
-
-