【发布时间】:2019-05-07 12:44:03
【问题描述】:
我正在四处寻找更改由 Google Chatbot 创建的 card width,但目前我看到 Chatbot API 中没有任何配置。
是否可以通过某种方式设置属性?
我现在的Cardclass;
class Card {
constructor(title, subtitle, imgUrl) {
this.sections = [];
this.cardObject = {
"cards": [
{
"header": {"title": title, "subtitle": subtitle, "imageUrl": imgUrl},
"sections": this.sections
}
]
};
}
}
这些是我现在寻找的 Hangouts Chat API,但没有关于自定义 width 值的信息;
【问题讨论】:
标签: javascript chatbot google-chat