Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement