我一直在四处更改由Google Chatbot创建的card
width
,但到目前为止,我发现Chatbot API中没有任何配置。
是否可以通过某种方式设置属性?
我当前的Card
class
;
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
值的信息;