Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An entity representing an at mention.

Version 0.1

Name

Type

Cardinality

Description

  id

com.symphony.user.id userId [A]

com.symphony.user.name [A]

11.nThe user being mentioned.
presentationMLPresentationML1.nDefault rendering.

 

Example

<entity type=
Code Block
languagexml
titlePresentationML
<div class="PresentationML" data-version-id="2.0">
    Hello <div class="entity" data-entity-id="alice">
        <b>Alice!</b>
    </div>
</div>


Code Block
languagejs
titleEntityJSON
{"alice": {
        "type": "com.symphony.user.mention",
   version="0.1">     "version":  "1.0",
        "id":  [
            {
               <attribute "type="com":     “com.symphony.user.id" value="71811853189445"/>userId",
                "value":    123456789
            }
        ]
    }
<presentationML>@Bruce}
Skingle</presentationML>
</entity>