Menu

Expand
Rate this page:

Modifying a Conversation, Message, or Participant

You can modify certain objects in the Conversations SDK (i.e. Conversation, Message, Participant) for connected Users with appropriate permissions.

Updating

You can update a Conversation object by calling one of the appropriate methods for your chosen language.

For the Conversation, Message, or Participant data object, you could update some specific properties. Please refer to Update a Conversation, Message or Participant code sample.

Loading Code Sample...
        
        

        Update a Conversation, Message or Participant

        Deleting

        You can delete a Conversation object by calling the appropriate method for your chosen language. When you remove a Conversation object, all its Messages, attached Media, and Participants will be deleted.

        If you want to only delete a Message from a Conversation, call the specific method to remove it from the Conversation, and destroy any attached Media.

        If you want to only delete a Participant from a Conversation, call the specific method to remove them from the Conversation.

        Loading Code Sample...
              
              

              Delete a Conversation, Message or Participant

              Please note that when you delete a parent object, you will also delete its child object. For example, if you remove a Conversation, then all Messages and Participants will be automatically deleted. Once deleted, these resources are unrecoverable.

              Check out our auto-generated documentation for more information about Conversations SDK methods and properties: JavaScript, Android or iOS.

              What's Next?

              Congratulations! 🎉 You've finished the getting started guides. Now, let’s explore more Conversations SDK guides:

              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif