Activity Forums Salesforce® Discussions What is the Salesforce sObject for a private message?

  • Himanshu

    Member
    May 27, 2016 at 12:26 pm

    Hi Ravi,
    You need to enable the Manage Chatter Messages system permission on a cloned System Administrator profile before you have access to these sObjects.

    The ChatterMessage and ChatterConversation objects is what you are looking for.

    for instance:

    SELECT Body, ConversationId, Id, SenderId, SentDate FROM ChatterMessage

  • Avnish Yadav

    Member
    September 30, 2018 at 4:43 am

    Hello,

    With Salesforce Spring'15, we have the ability to write trigger on 'ChatterMessage' Object.

    So, you can easily monitor the ChatterMessage Activity(Provided the user have the "Manage Chatter Message" on the profile; as mentioned by Samuel)

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos