这是我的代码添加图像组成,图像URL从驱动程序获取。添加网址时,网址已更改
如何保持不变?
function insertImgToCompose(e) {
var url = e.parameters.url;
var accessToken = e.messageMetadata.accessToken;
GmailApp.setCurrentMessageAccessToken(accessToken);
var driver_image_url = saveDriver(url);
var draftCompose = GmailApp.createDraft("", "", "",{
htmlBody: "<img src='https://drive.google.com/uc?id=1qMjfrky2a-9pqqvR8bHVD35qVJ75WMtK'/>"
});
return CardService.newComposeActionResponseBuilder()
.setGmailDraft(draftCompose).build();
}