MatrixEventRoomTopic

MatrixEventRoomTopic — Event type to hold the m.room.topic event.

Functions

Types and Values

Description

A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name.

Functions

MATRIX_EVENT_TYPE_ROOM_TOPIC

#define MATRIX_EVENT_TYPE_ROOM_TOPIC (matrix_event_room_topic_get_type ())

The type for MatrixEventRoomTopic.


matrix_event_room_topic_new ()

MatrixEventRoomTopic *
matrix_event_room_topic_new (void);

matrix_event_room_topic_get_topic ()

const gchar *
matrix_event_room_topic_get_topic (MatrixEventRoomTopic *self);

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

The topic text.

Parameters

self

the MatrixEventRoomTopic instance to query

 

Returns

the value of the "topic" property


matrix_event_room_topic_set_topic ()

void
matrix_event_room_topic_set_topic (MatrixEventRoomTopic *self,
                                   const gchar *value);

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

The topic text.

Parameters

self

the MatrixEventRoomTopic instance to modify

 

value

the new value of the "topic" property

 

Types and Values

struct MatrixEventRoomTopic

struct MatrixEventRoomTopic {
	MatrixEventState parent_instance;
	MatrixEventRoomTopicPrivate * priv;
};

Event type to hold the m.room.topic event.

A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name.


struct MatrixEventRoomTopicClass

struct MatrixEventRoomTopicClass {
	MatrixEventStateClass parent_class;
};

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

Members

MatrixEventStateClass parent_class;

the parent class structure