Skip to content

Commit f2440c1

Browse files
tanasegabrielchoran
authored andcommitted
Update README.md (#434)
* Update README.md Update README.md with extra info for assigning conversations to teams #433 * Update README.md
1 parent 92ab978 commit f2440c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ intercom.conversations.open(id: conversation.id, admin_id: '123')
228228
intercom.conversations.close(id: conversation.id, admin_id: '123')
229229

230230
# Assign
231+
# Note: Conversations can be assigned to teams. However, the entity that performs the operation of assigning the conversation has to be an existing teammate.
232+
# You can use `intercom.admins.all.each {|a| puts a.inspect if a.type == 'admin' }` to list all of your teammates.
231233
intercom.conversations.assign(id: conversation.id, admin_id: '123', assignee_id: '124')
232234

233235
# Snooze

0 commit comments

Comments
 (0)