Skip to main content

draft_plan

Function draft_plan 

Source
pub fn draft_plan(
    action: &str,
    args: &GmailArgs,
    reply: Option<&Reply>,
) -> Result<GoogleRequest, String>
Expand description

The request for create_draft (or, with a draft id, update_draft). A thread_id makes the draft a reply in that thread: reply is that thread’s last message (see reply_of), which a reply needs for Gmail to thread it.