Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. // Assign conversation to teammate identified by username
  2. {type: 'assign', teammate: 'andre'}
  3.  
  4. // Unassign conversation
  5. {type: 'unassign'}
  6.  
  7. // Toggle archive / open
  8. {type: 'toggle_archived'}
  9.  
  10. // Toggle move to trash / undelete
  11. {type: 'toggle_trashed'}
  12.  
  13. // Reply
  14. // subject, send_now, mark_archived are optional
  15. // if send_now is true, then the reply will be sent immediately, otherwise a reply will be opened with the body you provided.
  16. // if mark_archived is true, (and send_now is true), the conversation will be archived after sending the reply.
  17. {type: 'reply', body: 'A reply', subject: 'a subject', send_now: true, mark_archived: true}
  18.  
  19. // Reply all
  20. {type: reply_all, body: 'A reply to everyone'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement