Front.updateDraft(draft_id, options, callback)
Updates the draft of the conversation. You can get the draft_id by calling the fetchDraft method, which can be found here.
options: object
Field Name | Type | Description |
|---|---|---|
| Object | An object of recipients ( |
| Integer array | An array of attachment UIDs to attach to the draft. UIDs can be found in the messages of the current selected conversation (UIDs not found in the conversation will be ignored). If present, will replace all the attachments. |
Front.updateDraft(draft_id, {
recipients: {
to: ['[email protected]'],
cc: [],
bcc: []
},
attachment_uids: []
}, callback);