Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DirectMessage

Represents a direct message conversation between multiple users in Chatter. This object is available in API version 38.0 and later.

Supported Calls

describeSObjects(), query(), retrieve(), update()

Special Access Rules

You must have the Manage Chatter Messages and Direct Messages permission enabled to access the DirectMessage object.

Fields

Field Details
Name
Type
string
Properties
Filter, Group, idLookup, Sort, Update
Description
A default value that isn’t visible to users.
Subject
Type
string
Properties
Filter, Group, Nillable, Sort, Update
Description
Subject of the overall direct message conversation.

Usage

DirectMessage is an object used by Salesforce to control DirectMessage conversations. It represents a record of a direct message conversation, but doesn’t include conversation data, such as posts or comments. It is most frequently used to moderate direct message data in order to meet data compliance regulations.