Package io.github.ma1uta.matrix.event
Class RoomHistoryVisibility
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<C>
-
- io.github.ma1uta.matrix.event.RoomEvent<C>
-
- io.github.ma1uta.matrix.event.StateEvent<RoomHistoryVisibilityContent>
-
- io.github.ma1uta.matrix.event.RoomHistoryVisibility
-
public class RoomHistoryVisibility extends StateEvent<RoomHistoryVisibilityContent>
This event controls whether a user can see the events that happened in a room from before they joined.
-
-
Constructor Summary
Constructors Constructor Description RoomHistoryVisibility()
-
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 event controls whether a user can see the events that happened in a room from before they joined.- 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<RoomHistoryVisibilityContent>
- Returns:
- The type of the event.
-
-