We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97d4309 + d3bbc46 commit 6207c0bCopy full SHA for 6207c0b
1 file changed
README.md
@@ -471,6 +471,30 @@ var reply = {
471
client.conversations.reply(reply, callback);
472
```
473
474
+```node
475
+// Assign a conversation to an admin
476
+var assignment = {
477
+ id: '13879167940',
478
+ type: 'admin',
479
+ admin_id: '1309092',
480
+ assignee_id: '1723471',
481
+ message_type: 'assignment'
482
+};
483
+
484
+client.conversations.reply(assignment, callback);
485
486
+// Assign a conversation to unassigned
487
488
489
490
491
+ assignee_id: '0',
492
493
+}
494
495
496
+```
497
498
```node
499
// Mark a conversation as read
500
client.conversations.markAsRead({ id: '1039067180' }, callback);
0 commit comments