MessageML
This article gives an overview of the message workflow and shows how message representations are used throughout the workflow. In its subpages are presented the specifications of messageML.
Last updated
Was this helpful?
This article gives an overview of the message workflow and shows how message representations are used throughout the workflow. In its subpages are presented the specifications of messageML.
Last updated
Was this helpful?
When calling API methods that create messages, the content of the message must be sent using MessageML markup. MessageML is a tag-based language that is a subset of XHTML, with the addition of tags specific to Symphony Messaging for embedding information (e.g. a mention) into a message.
You can find the specifications of the MessageML language in the attached subpages. Even if they are grouped in different categories for documentation clarity purposes, please note you can do your own mix, respecting the specific rules explained at each component specification level.
Also, please note that messages in MessageML markup are enclosed in a <messageML>
tag.
MessageML has full unicode support and messages should be sent using UTF-8 character encoding.
When or messages using the API, MessageML shorthand tags are translated into equivalent XHTML tags and returned in .
MessageML is formatted as XML and should have all tags properly formatted. For example, rather than using <br>
you must use <br/>
.
For string attributes, standard rules for escaping XML special characters apply, i.e. escaping:
'
with '
(if single quotes are used to quote the value)
"
with "
(if single quotes are used to quote the value)
<
with <
&
with &
Other XML named entity sequences such as >
may be used.