A representation of a message sent by a user of Symphony
messageIdstringOptional
Id of the message
parentMessageIdstringOptional
Id of the parent message, set when the message is a reply to another message or a forwarded message. Since Agent 20.14.
timestampinteger · int64Optional
Timestamp of the message in milliseconds since Jan 1 1970
messagestring · MessageMLV2Optional
Message content in MessageMLV2
datastring · JSONOptional
Message data in EntityJSON
externalRecipientsbooleanOptional
Indicates if the message have external recipients. Only present on real time messaging.
diagnosticstringOptional
Details if event failed to parse for any reason. The contents of this field may not be useful,
depending on the nature of the error. Only present when error occurs.
userAgentstringOptional
User agent string for client that sent the message. Allows callers to identify which client sent the
origin message (e.g. API Agent, SFE Client, mobile, etc)
originalFormatstringOptional
Indicates the format in which the message was originally sent. This could have been either:
com.symphony.markdown - Markdown OR Message ML V1
com.symphony.messageml.v2 - Message ML V2
disclaimerstringOptional
Message that may be sent along with a regular message if configured for the POD,
usually the first message sent in a room that day.
sidstringOptional
Unique session identifier from where the message was created.
Example: fa691cd3-484a-4109-aeb2-57c05b78c95b
replacingstringOptional
Id of the message that the current message is replacing (present only if set)
replacedBystringOptional
Id of the message that the current message is being replaced with (present only if set)
initialTimestampinteger · int64Optional
Timestamp of when the initial message has been created in milliseconds since
Jan 1 1970 (present only if set)
initialMessageIdstringOptional
Id the the initial message that has been updated (present only if set)
silentbooleanOptional
When false the user/s will receive the message update as unread (true by default)
204
No Messages.
400
Client error, see response body for further details.
application/json
401
Unauthorized: Session tokens invalid.
application/json
403
Forbidden: Caller lacks necessary entitlement.
application/json
500
Server error, see response body for further details.
application/json
get
/v1/message/{id}
📘 Optional attributes returned
Note that some attributes are returned in the payload only under specific conditions:
sharedMessage only when the message represented by this class is a wall post sharing another message;
initialMessageId, initialTimestamp, and replacing only when the corresponding message is sent as an update to another message thanks to Update Message endpoint. Note that the first two attributes relate to the original (and therefore first) message sent, whereas the replacing attribute relates to the message that has been updated by this message;
replacedBy only when this message has been updated by a new message. It contains the id of the replacing message.
parentMessageId only when this message is a reply or a forward of another message which id is returned in this attribute.