| Top |
MatrixEventRoomHistoryVisibilityMatrixEventRoomHistoryVisibility — Class to hold a m.room.history_visibility event. |
This event controls whether a user can see the events that happened in a room from before they joined.
#define MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY (matrix_event_room_history_visibility_get_type ())
The type for MatrixEventRoomHistoryVisibility.
MatrixEventRoomHistoryVisibility *
matrix_event_room_history_visibility_new
(void);
MatrixHistoryVisibility
matrix_event_room_history_visibility_get_visibility
(MatrixEventRoomHistoryVisibility *self);
Get and return the current value of the "visibility" property.
Who can see the room history.
void matrix_event_room_history_visibility_set_visibility (MatrixEventRoomHistoryVisibility *self,MatrixHistoryVisibility value);
Set the value of the "visibility" property to value
.
Who can see the room history.
self |
the MatrixEventRoomHistoryVisibility instance to modify |
|
value |
the new value of the "visibility" property |
struct MatrixEventRoomHistoryVisibility {
MatrixEventState parent_instance;
MatrixEventRoomHistoryVisibilityPrivate * priv;
};
Class to hold a m.room.history_visibility event.
This event controls whether a user can see the events that happened in a room from before they joined.
struct MatrixEventRoomHistoryVisibilityClass {
MatrixEventStateClass parent_class;
};
The class structure for MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY. All the fields in this structure are private and should never be accessed directly.