Skip to content

Commit 92144e9

Browse files
committed
Update docs
1 parent c6a81ed commit 92144e9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/index.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,40 @@ Intercom documentation: `Marking a Conversation as Read <https://developers.inte
416416
conversation.save()
417417

418418

419+
Add a User to a Conversation as an Admin
420+
++++++++++++++++++++++++++++++
421+
422+
Intercom documentation: `Adding to group conversations as admin <https://developers.intercom.com/reference#adding-to-group-conversations-as-admin>`_.
423+
424+
::
425+
426+
message_data = {
427+
'id': conversation_id,
428+
'admin_id': '781236',
429+
'customer': {
430+
'intercom_user_id': '58c1c78946a0aa9ef45b098a',
431+
}
432+
}
433+
intercom.conversations.add_customer_to_conversation(**message_data)
434+
435+
436+
Add a User to a Conversation as a Customer
437+
++++++++++++++++++++++++++++++
438+
439+
Intercom documentation: `Adding to group conversations as customer <https://developers.intercom.com/reference#adding-to-group-conversations-as-customer>`_.
440+
441+
::
442+
443+
message_data = {
444+
'id': conversation_id,
445+
'intercom_user_id': '55c1c78946b0aa9ef45b09ff',
446+
'customer': {
447+
'intercom_user_id': '58c1c78946a0aa9ef45b098a',
448+
}
449+
}
450+
intercom.conversations.add_customer_to_conversation(**message_data)
451+
452+
419453
Webhooks and Notifications
420454
--------------------------
421455

0 commit comments

Comments
 (0)