Object Reference for the Salesforce Platform
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.
ChatterMessage
Supported Calls
delete(), describeSObjects(), query(), retrieve(), update()
Fields
| Field Name | Details |
|---|---|
| Body |
|
| ConversationId |
|
| SenderId |
|
| SenderNetworkId |
|
| SentDate |
|
Usage
Use this object to view and delete messages sent or received via private conversations in Chatter. Users can access this object if they have the Manage Chatter Messages and Direct Messages permission. Users with the Moderate Experiences Chatter Messages permission can access this object in Experience Cloud sites they’re a member of, only if the message has been flagged as inappropriate. This object is provided to allow administrators to view and delete users’ Chatter messages, for example, for compliance purposes.
Messages are hard deleted. That is, they’re removed completely without a trip to the Recycle Bin.
Deleting a message that resulted from sharing a file with someone doesn’t also delete the file.