MatrixEventRoomHistoryVisibility

MatrixEventRoomHistoryVisibility — Class to hold a m.room.history_visibility event.

Functions

Types and Values

Description

This event controls whether a user can see the events that happened in a room from before they joined.

Functions

MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY

#define MATRIX_EVENT_TYPE_ROOM_HISTORY_VISIBILITY (matrix_event_room_history_visibility_get_type ())

The type for MatrixEventRoomHistoryVisibility.


matrix_event_room_history_visibility_new ()

MatrixEventRoomHistoryVisibility *
matrix_event_room_history_visibility_new
                               (void);

matrix_event_room_history_visibility_get_visibility ()

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.

Parameters

self

the MatrixEventRoomHistoryVisibility instance to query

 

Returns

the value of the "visibility" property


matrix_event_room_history_visibility_set_visibility ()

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.

Parameters

self

the MatrixEventRoomHistoryVisibility instance to modify

 

value

the new value of the "visibility" property

 

Types and Values

struct MatrixEventRoomHistoryVisibility

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

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.

Members

MatrixEventStateClass parent_class;

the parent class structure