Skip to content

Conversation

@jonnyom
Copy link
Contributor

@jonnyom jonnyom commented Sep 3, 2018

Why?

It isn't clear right now how to find_all a contact's conversations, as demonstrated in this issue #422

How?

This adds more concreted examples to the README on how to find contacts conversations.

# Iterate over all conversations for a user with their Intercom user ID
intercom.conversations.find_all(intercom_user_id: '536e564f316c83104c000020', type: 'user').each {|convo| ... }
# Iterate over all conversations for a lead
# NOTE: to iterate over a lead's conversations you MUST use their Intercom User ID and type User
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can bold by adding double asterix if you feel that would make the MUST stand out more

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you do that in something commented out?

I don't really think it's a big deal tbf 😛

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize this was in backticks NVM 😒

@jonnyom jonnyom merged commit d21fa99 into master Sep 3, 2018
@jonnyom jonnyom deleted the jonny/add_contact_example_to_readme branch September 3, 2018 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants