Object Reference for Salesforce and Force.com
Newer Version Available
ChatterMessage
Supported Calls
delete(), describeSObjects(), query(), retrieve()
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 Communities Chatter Messages” permission can access this object in communities 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. They aren’t sent to the recycle bin.
Deleting a message that resulted from sharing a file with someone does not delete the file itself.