DirectMessageEntity Type
Represents a directed communication between a user and several other users. Direct messages by default appear in the
Communications stream and can be filtered down to just direct messages over the last 30 days (Admin configurable) as
well. After the initial message is created participants are permitted to reply directly, when the direct message is
replied to it will be pushed to the top of each of the participants communications streams.
Fields
Field | Type | Description |
---|
ID | Long | |
author | UserSummary | Returns the content author summary. |
bookmarkCount | Integer | |
content | ContentBodyEntity | Returns the content body. |
creationDate | Date | The creation date of the entity |
likeCount | Integer | Returns the number of users that have liked the content |
links | Map | Links (URIs) relevant to the entity. A link may for example point to additional information about
the entity or allow the user to perform related actions. |
modificationDate | Date | The modification date of the entity |
participants | List of UserSummary | Retruns the participants in the communication. All participants are permitted to both view and reply to the
message. The originating user is available from DirectMessageEntity.getAuthor() and is thus not included in the list of
participants. Ordering on the returned participants is by user ID. |
replyCount | Integer | Returns the number of replies which users have posted to this content. Replies allow for a discussion surrounding
the content object and allow for the author of the content to gauge what other users of the community
thought of it. |
resources | Map | Links to actions which can be taken on the current entity. The embedded link contains information about what
methods are available on the given link. |
status | String | Returns the content status, e.g. published or draft. |
subject | String | Returns the content's subject. The subject may not be available for all content objects, e.g. comments. |
type | String | |
viewCount | Integer | The view count of the entity |