我需要在多项选择项的每个选择中插入Google云端硬盘图像。检查文档后,类.addMultipleChoiceItem()
不支持方法.setImage()
。还有另一种方法可以从Google云端硬盘插入图像吗?
示例:
var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
var item = form.addListItem();
item.setTitle('Do you prefer cats or dogs?')
.setChoices([
item.createChoice('Cats'), <------ I need to insert an imagen of a cat
in this choice with code.
item.createChoice('Dogs')
]);