You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/event-schemas/schema/m.room.message#m.notice

25 lines
921 B
Plaintext

---
allOf:
- $ref: core-event-schema/room_event.yaml
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.'
properties:
content:
properties:
body:
description: The notice text to send.
type: string
msgtype:
enum:
- m.notice
type: string
required:
- msgtype
- body
type: object
type:
enum:
- m.room.message
type: string
title: NoticeMessage
type: object