Top |
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.
#define MATRIX_MESSAGE_TYPE_NOTICE (matrix_message_notice_get_type ())
The type for 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 { 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.