intercom-java
intercom-java copied to clipboard
Add conversation participants support
Adding support for adding and removing of participants from group conversations
- Created a
Participant
class as we're usingCustomer
in the response for conversations ratings https://github.com/intercom/intercom-java/pull/235 and also in the return response for the added methods - Open to feedback on a better approach for this
Related Docs:
- https://developers.intercom.com/intercom-api-reference/reference#adding-to-group-conversations-as-admin
- https://developers.intercom.com/intercom-api-reference/reference#adding-to-group-conversations-as-customer
- https://developers.intercom.com/intercom-api-reference/reference#deleting-from-group-conversations
Should not be merged as it breaks Tag.delete
due to this change https://github.com/intercom/intercom-java/pull/241/files#r228734640
Will need to rethink this a bit more but also open for discussion regarding Customer
and Participant
calsses
@thewheat ok .. will leave this for now and focus on other open PRs
For reference PR to parse DELETE
requests handled here https://github.com/intercom/intercom-java/pull/248
Will need to merge that first before merging this