MatrixEventRoomGuestAccess

MatrixEventRoomGuestAccess — Class to hold a m.room.guest_access event

Functions

Types and Values

Description

Functions

MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS

#define MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS (matrix_event_room_guest_access_get_type ())

The type for MatrixEventRoomGuestAccess.


matrix_event_room_guest_access_new ()

MatrixEventRoomGuestAccess *
matrix_event_room_guest_access_new (void);

matrix_event_room_guest_access_get_guest_access ()

MatrixGuestAccess
matrix_event_room_guest_access_get_guest_access
                               (MatrixEventRoomGuestAccess *self);

Get and return the current value of the "guest-access" property.

Whether guests can join the room.

Parameters

self

the MatrixEventRoomGuestAccess instance to query

 

Returns

the value of the "guest-access" property


matrix_event_room_guest_access_set_guest_access ()

void
matrix_event_room_guest_access_set_guest_access
                               (MatrixEventRoomGuestAccess *self,
                                MatrixGuestAccess value);

Set the value of the "guest-access" property to value .

Whether guests can join the room.

Parameters

self

the MatrixEventRoomGuestAccess instance to modify

 

value

the new value of the "guest-access" property

 

Types and Values

struct MatrixEventRoomGuestAccess

struct MatrixEventRoomGuestAccess {
	MatrixEventState parent_instance;
	MatrixEventRoomGuestAccessPrivate * priv;
};

Class to hold a m.room.guest_access event


struct MatrixEventRoomGuestAccessClass

struct MatrixEventRoomGuestAccessClass {
	MatrixEventStateClass parent_class;
};

The class structure for MATRIX_EVENT_TYPE_ROOM_GUEST_ACCESS. All the fields in this structure are private and should never be accessed directly.

Members

MatrixEventStateClass parent_class;

the parent class structure