Package io.github.ma1uta.matrix.event
Class RoomCreate
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<C>
-
- io.github.ma1uta.matrix.event.RoomEvent<C>
-
- io.github.ma1uta.matrix.event.StateEvent<RoomCreateContent>
-
- io.github.ma1uta.matrix.event.RoomCreate
-
public class RoomCreate extends StateEvent<RoomCreateContent>
This is the first event in a room and cannot be changed. It acts as the root of all other events.
-
-
Constructor Summary
Constructors Constructor Description RoomCreate()
-
Method Summary
-
Methods inherited from class io.github.ma1uta.matrix.event.StateEvent
getPrevContent, getStateKey, setPrevContent, setStateKey
-
Methods inherited from class io.github.ma1uta.matrix.event.RoomEvent
getEventId, getOriginServerTs, getRoomId, getSender, getUnsigned, setEventId, setOriginServerTs, setRoomId, setSender, setUnsigned
-
Methods inherited from class io.github.ma1uta.matrix.event.Event
getContent, setContent
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
This is the first event in a room and cannot be changed. It acts as the root of all other events.- 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<RoomCreateContent>
- Returns:
- The type of the event.
-
-