Const
Readonly
attributes: { Readonly
activeIndicates a list of the MessageIDs of the Messages currently being presented. If this list is empty, no messages are currently being presented.
This list shall NOT be fabric-scoped; it shall contain MessageIDs for all Messages being presented, no matter what fabric the client that queued them is on.
Readonly
messages: FabricScopedAttribute<TypeFromFields<{ Indicates a list of queued messages.
In addition to filtering based upon fabric, to preserve user privacy, the server may further limit the set of messages returned in a read request. At minimum, the server shall return to a client those messages that the client itself created/submitted.
Readonly
commands: { Readonly
cancelReadonly
presentUpon receipt, this shall cause the message in the passed fields to be appended to the Messages attribute.
If appending the message would cause the number of messages to be greater than the capacity of the list, the device shall NOT append any message to Messages, and shall return a status code of RESOURCE_EXHAUSTED.
When displaying a message in response to this command, an indication (ex. visual) of the origin node of the command shall be provided. This could be in the form of a friendly name label which uniquely identifies the node to the user. This friendly name label is typically assigned by the Matter Admin at the time of commissioning and, when it’s a device, is often editable by the user. It might be a combination of a company name and friendly name, for example, ”Acme” or “Acme Streaming Service on Alice’s Phone”.
NOTE
It is currently not specified where the friendly name label can be found on the node, meaning that clients SHOULD NOT rely on a certain method they happen to observe in a particular server instance, since other instances could employ a different method.
The device SHOULD make it possible for the user to view which nodes have access to this cluster and to individually remove privileges for each node.
Readonly
events: { Readonly
messageThis event shall be generated when the message is confirmed by the user, or when the Duration of the message has elapsed without confirmation.
Readonly
messageThis event shall be generated when the message is presented to the user.
Readonly
messageThis event shall be generated when a message is added to the messages attribute.
Readonly
extensions: readonly [{ This metadata controls which MessagesCluster elements matter.js activates for specific feature combinations.
Readonly
features: { Readonly
confirmationConfirmationReply
This feature shall indicate that the device is capable of collecting a free-form text response to a message.
Readonly
confirmationConfirmationResponse
This feature shall indicate that the device is capable of presenting a list of responses to the user and recording the user’s choice of response.
Readonly
protectedProtectedMessages
This feature shall indicate that the device is capable of requiring the user to authenticate before viewing a message; e.g. entering a PIN or password before viewing a message with billing information.
Readonly
receivedReceivedConfirmation
This feature shall indicate that the device can get confirmation from a user that the message was received.
Readonly
id: 151Readonly
name: "Messages"Readonly
revision: 3
These elements and properties are present in all Messages clusters.