Salesforce Chatter Documents

The document reference for a document created by the Salesforce Chatter Connector uses the following format:

CHATTER:<authenticated_user_id>:[TYPE]:<id>

where [TYPE] specifies the type of document and is one of the following values:

USER The document contains the details of a single user.
GROUP The document contains details of a collaboration group.
FILE The document represents a file retrieved from the repository.
CONVERSATION The document represents a private conversation.
MESSAGE The document represents a message from a private conversation.
ITEM The document represents an item in the user's news feed.
COMMENT The document represents a comment attached to a feed item.

Most of these document types contain fields that reference other documents. For example, the CONVERSATION document type does not include the message content, but includes a reference to the associated MESSAGE documents.