function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kenji775Kenji775 

Chatter Message Via API?

I know chatter messages are brand new in the 23.0 release, so not a ton of people know about them yet.

However, I was wondering if anyone knew if there is a way to create messages programatically. It looks like you'd have to create a conversation, then add members, and messages to that conversation, but the API docs says those are all read only from the API.

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_chattermessage.htm
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_chatterconversation.htm
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_chatterconversationmember.htm

Does that mean I am out of luck if I want to create them programatically?

 

ChrisOctagonChrisOctagon

You can post new messages to conversations and do other stuff involving chatter messages using the new Chatter REST API (http://wiki.developerforce.com/index.php/Chatter_API).

 

The documentation on chatter messages is found here: http://www.salesforce.com/us/developer/docs/chatterapipre/Content/connect_resources_users.htm . Search for references to "message" or "conversation".