README.md in intercom-3.6.1 vs README.md in intercom-3.6.2
- old
+ new
@@ -20,11 +20,11 @@
gem install intercom
Using bundler:
- gem 'intercom', '~> 3.6.0'
+ gem 'intercom', '~> 3.6.1'
## Basic Usage
### Configure your client
@@ -226,10 +226,15 @@
# Close
intercom.conversations.close(id: conversation.id, admin_id: '123')
# Assign
+# Note: Conversations can be assigned to teams. However, the entity that performs the operation of assigning the conversation has to be an existing teammate.
+# You can use `intercom.admins.all.each {|a| puts a.inspect if a.type == 'admin' }` to list all of your teammates.
intercom.conversations.assign(id: conversation.id, admin_id: '123', assignee_id: '124')
+
+# Snooze
+intercom.conversations.snooze(id: conversation.id, admin_id: '123', snoozed_until: 9999999999)
# Reply and Open
intercom.conversations.reply(id: conversation.id, type: 'admin', admin_id: '123', message_type: 'open', body: 'bar')
# Reply and Close