Skip to content

Commit 82339f4

Browse files
committed
Merge pull request #182 from intercom/BL/assignment
Document conversation assignments
2 parents a8c5295 + ee0be71 commit 82339f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ intercom.conversations.reply(:id => conversation.id, :type => 'user', :email =>
178178
# Admin (identified by email) replies with a comment
179179
intercom.conversations.reply(:id => conversation.id, :type => 'admin', :email => '[email protected]', :message_type => 'comment', :body => 'bar')
180180

181+
# ASSIGNING CONVERSATIONS TO ADMINS
182+
intercom.conversations.reply(:id => conversation.id, :type => 'admin', :assignee_id => assignee_admin.id, :admin_id => admin.id, :message_type => 'assignment')
183+
181184
# MARKING A CONVERSATION AS READ
182185
intercom.conversations.mark_read(conversation.id)
183186
```

0 commit comments

Comments
 (0)