Top |
MatrixEventRoomMessageFeedbackMatrixEventRoomMessageFeedback — Class to hold a m.room.message.feedback event. |
Usage of this event is discouraged in favour of the receipts module. Most clients will not recognise this event.
Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: `delivered` (sent when the event has been received) and `read` (sent when the event has been observed by the end-user). The `target_event_id` should reference the `m.room.message` event being acknowledged.
#define MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK (matrix_event_room_message_feedback_get_type ())
The type for MatrixEventRoomMessageFeedback.
MatrixEventRoomMessageFeedback *
matrix_event_room_message_feedback_new
(void
);
const gchar *
matrix_event_room_message_feedback_get_feedback_type
(MatrixEventRoomMessageFeedback *self
);
Get and return the current value of the "feedback-type" property.
The type of the feedback. As the use of this event type is discouraged, Matrix GLib SDK doesn’t implement this as an actual enum.
void matrix_event_room_message_feedback_set_feedback_type (MatrixEventRoomMessageFeedback *self
,const gchar *value
);
Set the value of the "feedback-type" property to value
.
The type of the feedback. As the use of this event type is discouraged, Matrix GLib SDK doesn’t implement this as an actual enum.
self |
the MatrixEventRoomMessageFeedback instance to modify |
|
value |
the new value of the "feedback-type" property |
const gchar *
matrix_event_room_message_feedback_get_target_event_id
(MatrixEventRoomMessageFeedback *self
);
Get and return the current value of the "target-event-id" property.
The event that this feedback is related to.
void matrix_event_room_message_feedback_set_target_event_id (MatrixEventRoomMessageFeedback *self
,const gchar *value
);
Set the value of the "target-event-id" property to value
.
The event that this feedback is related to.
self |
the MatrixEventRoomMessageFeedback instance to modify |
|
value |
the new value of the "target-event-id" property |
struct MatrixEventRoomMessageFeedback { MatrixEventRoom parent_instance; MatrixEventRoomMessageFeedbackPrivate * priv; };
Class to hold a m.room.message.feedback event.
Usage of this event is discouraged in favour of the receipts module. Most clients will not recognise this event.
Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: `delivered` (sent when the event has been received) and `read` (sent when the event has been observed by the end-user). The `target_event_id` should reference the `m.room.message` event being acknowledged.
struct MatrixEventRoomMessageFeedbackClass { MatrixEventRoomClass parent_class; };
The class structure for MATRIX_EVENT_TYPE_ROOM_MESSAGE_FEEDBACK
. All the fields in this structure are private and should never be accessed directly.