| Top |
| #define | MATRIX_EVENT_TYPE_ROOM_CREATE |
| MatrixEventRoomCreate * | matrix_event_room_create_new () |
| const gchar * | matrix_event_room_create_get_creator () |
| void | matrix_event_room_create_set_creator () |
| gboolean | matrix_event_room_create_get_federate () |
| void | matrix_event_room_create_set_federate () |
This is the first event in a room and cannot be changed. It acts as the root of all other events.
#define MATRIX_EVENT_TYPE_ROOM_CREATE (matrix_event_room_create_get_type ())
The type for MatrixEventRoomCreate.
const gchar *
matrix_event_room_create_get_creator (MatrixEventRoomCreate *self);
Get and return the current value of the "creator" property.
The user_id of the room creator. This is set by the homeserver.
void matrix_event_room_create_set_creator (MatrixEventRoomCreate *self,const gchar *value);
Set the value of the "creator" property to value
.
The user_id of the room creator. This is set by the homeserver.
self |
the MatrixEventRoomCreate instance to modify |
|
value |
the new value of the "creator" property |
gboolean
matrix_event_room_create_get_federate (MatrixEventRoomCreate *self);
Get and return the current value of the "federate" property.
Whether users on other servers can join this room. Defaults to true if key does not exist.
void matrix_event_room_create_set_federate (MatrixEventRoomCreate *self,gboolean value);
Set the value of the "federate" property to value
.
Whether users on other servers can join this room. Defaults to true if key does not exist.
self |
the MatrixEventRoomCreate instance to modify |
|
value |
the new value of the "federate" property |
struct MatrixEventRoomCreate {
MatrixEventState parent_instance;
MatrixEventRoomCreatePrivate * priv;
};
Class to hold a m.room.create event
This is the first event in a room and cannot be changed. It acts as the root of all other events.
struct MatrixEventRoomCreateClass {
MatrixEventStateClass parent_class;
};
The class structure for MATRIX_EVENT_TYPE_ROOM_CREATE. All the fields in this structure are private and should never be accessed directly.