Class ComposeActionResponse

撰寫動作回覆

可從 Gmail 外掛程式中撰寫動作的回呼方法傳回的回應物件。

const composeActionResponse =
    AddOnsResponseService.newComposeActionResponseBuilder()
        .setGmailDraft(GmailApp.createDraft('recipient', 'subject', 'body'))
        .build();

方法

方法傳回類型簡短說明
printJson()String列印這個物件的 JSON 表示法。

內容詳盡的說明文件

printJson()

列印這個物件的 JSON 表示法。這項設定僅適用於偵錯。

回攻員

String