Package io.github.ma1uta.matrix.event
Class RawEvent
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<RawEventContent>
-
- io.github.ma1uta.matrix.event.RawEvent
-
public class RawEvent extends Event<RawEventContent>
Raw message for all unknown messages.
-
-
Field Summary
Fields Modifier and Type Field Description private Object
properties
private String
type
-
Method Summary
Modifier and Type Method Description Object
getProperties()
String
getType()
Required.-
Methods inherited from class io.github.ma1uta.matrix.event.Event
getContent, setContent
-
-
-
-
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<RawEventContent>
- Returns:
- The type of the event.
-
getProperties
public Object getProperties()
-
-