message
field in the response contains the message in PresentationML format.<div>
tag with the following attributes:PresentationML
.message
parameter must contain the message content in PresentationML XHTML markup, and the data
parameter must contain the XML markup for the standard entities referenced in the message.<messageML>
<div data-format=\"PresentationML\" data-version=\"2.0\">
<mention uid="123456789"/>
<span class="entity" data-entity-id="mention123">@Name</span>
<hash tag="hashtag"/>
<span class="entity" data-entity-id="keyword123">#hashtag</span>
<cash tag="ticker"/>
<span class="entity" data-entity-id="keyword456">$tag</span>
<chime />
<audio src="https://asset.symphony.com/symphony/audio/chime.mp3" autoplay="true" />
<card>
<div class="card barStyle" data-icon-src="url" data-accent-color="blue">
<div class="cardHeader">PresentationML</div>
<div class="cardBody">PresentationML</div> </div>
<div>
tag
When retrieving a message using the API, the message is always encapsulated in a root <div>
tag, for easy parsing.<div>
tag.<div>
data-format
: must be set to "PresentationML"
• data-version