MatrixEventRoomName

MatrixEventRoomName — Class to hold a m.room.name event.

Functions

Types and Values

Description

A room has an opaque room ID which is not human-friendly to read. A room alias is human-friendly, but not all rooms have room aliases. The room name is a human-friendly string designed to be displayed to the end-user. The room name is not unique, as multiple rooms can have the same room name set. The room name can also be set when creating a room using createRoom with the name key.

Functions

MATRIX_EVENT_TYPE_ROOM_NAME

#define MATRIX_EVENT_TYPE_ROOM_NAME (matrix_event_room_name_get_type ())

The type for MatrixEventRoomName.


matrix_event_room_name_new ()

MatrixEventRoomName *
matrix_event_room_name_new (void);

matrix_event_room_name_get_name ()

const gchar *
matrix_event_room_name_get_name (MatrixEventRoomName *self);

Get and return the current value of the "name" property.

Parameters

self

the MatrixEventRoomName instance to query

 

Returns

the value of the "name" property


matrix_event_room_name_set_name ()

void
matrix_event_room_name_set_name (MatrixEventRoomName *self,
                                 const gchar *value);

Set the value of the "name" property to value .

Parameters

self

the MatrixEventRoomName instance to modify

 

value

the new value of the "name" property

 

Types and Values

struct MatrixEventRoomName

struct MatrixEventRoomName {
	MatrixEventState parent_instance;
	MatrixEventRoomNamePrivate * priv;
};

Class to hold a m.room.name event.

A room has an opaque room ID which is not human-friendly to read. A room alias is human-friendly, but not all rooms have room aliases. The room name is a human-friendly string designed to be displayed to the end-user. The room name is not unique, as multiple rooms can have the same room name set. The room name can also be set when creating a room using createRoom with the name key.


struct MatrixEventRoomNameClass

struct MatrixEventRoomNameClass {
	MatrixEventStateClass parent_class;
};

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

Members

MatrixEventStateClass parent_class;

the parent class structure