Top |
MatrixEventRoomCanonicalAliasMatrixEventRoomCanonicalAlias — Class to hold a m.room.canonical_alias event |
This event is used to inform the room about which alias should be considered the canonical one. This could be for display purposes or as suggestion to users which alias to use to advertise the room.
#define MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS (matrix_event_room_canonical_alias_get_type ())
The type for MatrixEventRoomCanonicalAlias.
MatrixEventRoomCanonicalAlias *
matrix_event_room_canonical_alias_new (void
);
const gchar *
matrix_event_room_canonical_alias_get_canonical_alias
(MatrixEventRoomCanonicalAlias *self
);
Get and return the current value of the "canonical-alias" property.
The canonical alias.
void matrix_event_room_canonical_alias_set_canonical_alias (MatrixEventRoomCanonicalAlias *self
,const gchar *value
);
Set the value of the "canonical-alias" property to value
.
The canonical alias.
self |
the MatrixEventRoomCanonicalAlias instance to modify |
|
value |
the new value of the "canonical-alias" property |
struct MatrixEventRoomCanonicalAlias { MatrixEventState parent_instance; MatrixEventRoomCanonicalAliasPrivate * priv; };
Class to hold a m.room.canonical_alias event
This event is used to inform the room about which alias should be considered the canonical one. This could be for display purposes or as suggestion to users which alias to use to advertise the room.
struct MatrixEventRoomCanonicalAliasClass { MatrixEventStateClass parent_class; };
The class structure for MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS
. All the fields in this structure are private and should never be accessed directly.