Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 是否可以更改Google聊天机器人的“卡片”宽度?_Javascript_Chatbot_Google Chat - Fatal编程技术网

Javascript 是否可以更改Google聊天机器人的“卡片”宽度?

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

我四处寻找更改由Google Chatbot创建的
宽度
,但据我所知,Chatbot API中没有任何配置

是否可以以某种方式设置属性

我当前的

class Card {
    constructor(title, subtitle, imgUrl) {
        this.sections = [];
        this.cardObject = {
            "cards": [
                {
                    "header": {"title": title, "subtitle": subtitle, "imageUrl": imgUrl},
                    "sections": this.sections
                }
            ]
        };
    }

}
这些是我现在寻找的聊天室API,但没有关于自定义
宽度
值的信息


不幸的是,根据概述,无法更改卡的宽度