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 Objectpropertiesprivate Stringtype
-
Method Summary
Modifier and Type Method Description ObjectgetProperties()StringgetType()Required.-
Methods inherited from class io.github.ma1uta.matrix.event.Event
getContent, setContent
-
-
-
-
Method Detail
-
getType
public String getType()
Description copied from class:EventRequired. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.- Specified by:
getTypein classEvent<RawEventContent>- Returns:
- The type of the event.
-
getProperties
public Object getProperties()
-
-