File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -471,6 +471,30 @@ var reply = {
471471client .conversations .reply (reply, callback);
472472```
473473
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+ var assignment = {
488+ id: ' 13879167940' ,
489+ type: ' admin' ,
490+ admin_id: ' 1309092' ,
491+ assignee_id: ' 0' ,
492+ message_type: ' assignment'
493+ }
494+
495+ client .conversations .reply (assignment, callback);
496+ ```
497+
474498``` node
475499// Mark a conversation as read
476500client .conversations .markAsRead ({ id: ' 1039067180' }, callback);
You can’t perform that action at this time.
0 commit comments