Javascript 是否可以更改Google聊天机器人的“卡片”宽度?
我四处寻找更改由Google Chatbot创建的Javascript 是否可以更改Google聊天机器人的“卡片”宽度?,javascript,chatbot,google-chat,Javascript,Chatbot,Google Chat,我四处寻找更改由Google Chatbot创建的卡宽度,但据我所知,Chatbot API中没有任何配置 是否可以以某种方式设置属性 我当前的卡类 class Card { constructor(title, subtitle, imgUrl) { this.sections = []; this.cardObject = { "cards": [ { "h
卡
宽度
,但据我所知,Chatbot API中没有任何配置
是否可以以某种方式设置属性
我当前的卡
类
class Card {
constructor(title, subtitle, imgUrl) {
this.sections = [];
this.cardObject = {
"cards": [
{
"header": {"title": title, "subtitle": subtitle, "imageUrl": imgUrl},
"sections": this.sections
}
]
};
}
}
这些是我现在寻找的聊天室API,但没有关于自定义宽度值的信息
不幸的是,根据概述,无法更改卡的宽度