Class RoomHistoryVisibilityContent
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.RoomHistoryVisibilityContent
-
- All Implemented Interfaces:
EventContent
public class RoomHistoryVisibilityContent extends Object implements EventContent
This event controls whether a user can see the events that happened in a room from before they joined.
-
-
Field Summary
Fields Modifier and Type Field Description private String
historyVisibility
Required.static String
INVITED
Invited.static String
JOINED
Joined.static String
SHARED
Shared.static String
WORLD_READABLE
World readable.
-
Constructor Summary
Constructors Constructor Description RoomHistoryVisibilityContent()
-
-
-
Field Detail
-
WORLD_READABLE
public static final String WORLD_READABLE
World readable.- See Also:
- Constant Field Values
-
SHARED
public static final String SHARED
Shared.- See Also:
- Constant Field Values
-
INVITED
public static final String INVITED
Invited.- See Also:
- Constant Field Values
-
JOINED
public static final String JOINED
Joined.- See Also:
- Constant Field Values
-
historyVisibility
private String historyVisibility
Required. Who can see the room history. One of: ["invited", "joined", "shared", "world_readable"].
-
-