MatrixEventRoomCanonicalAlias

MatrixEventRoomCanonicalAlias — Class to hold a m.room.canonical_alias event

Functions

Types and Values

Description

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.

Functions

MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS

#define MATRIX_EVENT_TYPE_ROOM_CANONICAL_ALIAS (matrix_event_room_canonical_alias_get_type ())

The type for MatrixEventRoomCanonicalAlias.


matrix_event_room_canonical_alias_new ()

MatrixEventRoomCanonicalAlias *
matrix_event_room_canonical_alias_new (void);

matrix_event_room_canonical_alias_get_canonical_alias ()

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.

Parameters

self

the MatrixEventRoomCanonicalAlias instance to query

 

Returns

the value of the "canonical-alias" property


matrix_event_room_canonical_alias_set_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.

Parameters

self

the MatrixEventRoomCanonicalAlias instance to modify

 

value

the new value of the "canonical-alias" property

 

Types and Values

struct MatrixEventRoomCanonicalAlias

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

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.

Members

MatrixEventStateClass parent_class;

the parent class structure