Top |
A room may be public meaning anyone can join the room without any prior action. Alternatively, it can be invite meaning that a user who wishes to join the room must first receive an invite to the room from someone already inside of the room. Currently, knock and private are reserved keywords which are not implemented.
#define MATRIX_EVENT_TYPE_ROOM_JOIN_RULES (matrix_event_room_join_rules_get_type ())
The type for MatrixEventRoomJoinRules.
MatrixEventRoomJoinRules *
matrix_event_room_join_rules_new (void
);
MatrixJoinRules
matrix_event_room_join_rules_get_join_rules
(MatrixEventRoomJoinRules *self
);
Get and return the current value of the "join-rules" property.
void matrix_event_room_join_rules_set_join_rules (MatrixEventRoomJoinRules *self
,MatrixJoinRules value
);
Set the value of the "join-rules" property to value
.
self |
the MatrixEventRoomJoinRules instance to modify |
|
value |
the new value of the "join-rules" property |
struct MatrixEventRoomJoinRules { MatrixEventState parent_instance; MatrixEventRoomJoinRulesPrivate * priv; };
Class to hold a m.room.join_rules event.
A room may be public meaning anyone can join the room without any prior action. Alternatively, it can be invite meaning that a user who wishes to join the room must first receive an invite to the room from someone already inside of the room. Currently, knock and private are reserved keywords which are not implemented.
struct MatrixEventRoomJoinRulesClass { MatrixEventStateClass parent_class; };
The class structure for MATRIX_EVENT_TYPE_ROOM_JOIN_RULES
. All the fields in this structure are private and should never be accessed directly.