Created
December 19, 2014 13:04
-
-
Save lperrin/65f010888524ecee84f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assign conversation to teammate identified by username | |
{type: 'assign', teammate: 'andre'} | |
// Unassign conversation | |
{type: 'unassign'} | |
// Toggle archive / open | |
{type: 'toggle_archived'} | |
// Toggle move to trash / undelete | |
{type: 'toggle_trashed'} | |
// Reply | |
// subject, send_now, mark_archived are optional | |
// if send_now is true, then the reply will be sent immediately, otherwise a reply will be opened with the body you provided. | |
// if mark_archived is true, (and send_now is true), the conversation will be archived after sending the reply. | |
{type: 'reply', body: 'A reply', subject: 'a subject', send_now: true, mark_archived: true} | |
// Reply all | |
{type: reply_all, body: 'A reply to everyone'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment