MatrixMessageNotice

MatrixMessageNotice — Message type to hold a m.notice message

Functions

Types and Values

Description

A m.notice message should be considered similar to a plain m.text message except that clients should visually distinguish it in some way. It is intended to be used by automated clients, such as bots, bridges, and other entities, rather than humans. Additionally, such automated agents which watch a room for messages and respond to them ought to ignore m.notice messages. This helps to prevent infinite-loop situations where two automated clients continuously exchange messages, as each responds to the other.

Functions

MATRIX_MESSAGE_TYPE_NOTICE

#define MATRIX_MESSAGE_TYPE_NOTICE (matrix_message_notice_get_type ())

The type for MatrixMessageNotice.


matrix_message_notice_new ()

MatrixMessageNotice *
matrix_message_notice_new (void);

Types and Values

struct MatrixMessageNotice

struct MatrixMessageNotice {
	MatrixMessageBase parent_instance;
	MatrixMessageNoticePrivate * priv;
};

Message type to hold a m.notice message

A m.notice message should be considered similar to a plain m.text message except that clients should visually distinguish it in some way. It is intended to be used by automated clients, such as bots, bridges, and other entities, rather than humans. Additionally, such automated agents which watch a room for messages and respond to them ought to ignore m.notice messages. This helps to prevent infinite-loop situations where two automated clients continuously exchange messages, as each responds to the other.


struct MatrixMessageNoticeClass

struct MatrixMessageNoticeClass {
	MatrixMessageBaseClass parent_class;
};

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

Members

MatrixMessageBaseClass parent_class;

the parent class structure