Skip to main content

update_draft

Function update_draft 

Source
pub async fn update_draft(
    http: &Client,
    base_url: &str,
    access_token: &str,
    message_id: &str,
    message: &Outgoing,
) -> Result<(), ClientError>
Expand description

PATCH /me/messages/{id}: overwrite a draft’s editable fields. Only the fields in Outgoing are patched, since that’s what our wizard owns.