Google Apps Script API
    Preparing search index...

    The response object that may be returned from a callback method for compose action in a Gmail add-on.

    Note: This object isn't related to compose actions that are used to extend the compose UI. Rather, this object is a response to an Action that composes draft messages when a specific UI element is selected.

    var composeActionResponse = CardService.newComposeActionResponseBuilder()
        .setGmailDraft(GmailApp.createDraft("recipient", "subject", "body"))
        .build();
    
    interface ComposeActionResponse {
        printJson(): string;
    }
    Index

    Methods

    Methods