MatrixEventTyping

MatrixEventTyping — Class to hold an m.typing event.

Functions

Types and Values

Description

Informs the client of the list of users currently typing.

Functions

MATRIX_EVENT_TYPE_TYPING

#define MATRIX_EVENT_TYPE_TYPING (matrix_event_typing_get_type ())

The type for MatrixEventTyping.


matrix_event_typing_new ()

MatrixEventTyping *
matrix_event_typing_new (void);

matrix_event_typing_get_room_id ()

const gchar *
matrix_event_typing_get_room_id (MatrixEventTyping *self);

Get and return the current value of the "room-id" property.

The ID of the room this event belongs to.

Parameters

self

the MatrixEventTyping instance to query

 

Returns

the value of the "room-id" property


matrix_event_typing_set_room_id ()

void
matrix_event_typing_set_room_id (MatrixEventTyping *self,
                                 const gchar *value);

Set the value of the "room-id" property to value .

The ID of the room this event belongs to.

Parameters

self

the MatrixEventTyping instance to modify

 

value

the new value of the "room-id" property

 

matrix_event_typing_get_user_ids ()

gchar **
matrix_event_typing_get_user_ids (MatrixEventTyping *self,
                                  int *result_length1);

Get and return the current value of the "user-ids" property.

The list of user IDs typing in this room, if any.

Parameters

self

the MatrixEventTyping instance to query

 

Returns

the value of the "user-ids" property


matrix_event_typing_set_user_ids ()

void
matrix_event_typing_set_user_ids (MatrixEventTyping *self,
                                  gchar **value,
                                  int value_length1);

Set the value of the "user-ids" property to value .

The list of user IDs typing in this room, if any.

Parameters

self

the MatrixEventTyping instance to modify

 

value

the new value of the "user-ids" property

 

Types and Values

struct MatrixEventTyping

struct MatrixEventTyping {
	MatrixEventBase parent_instance;
	MatrixEventTypingPrivate * priv;
};

Class to hold an m.typing event.

Informs the client of the list of users currently typing.


struct MatrixEventTypingClass

struct MatrixEventTypingClass {
	MatrixEventBaseClass parent_class;
};

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

Members

MatrixEventBaseClass parent_class;

the parent class structure