我正在使用smarlty.ai为Facebook构建Messenger引导程序,我想找到一种修改按钮形状的方法,但是我在smarlty.ai文档中找不到任何内容
const answers = [
{
"text": "أنا مستعد باش نعطيكم جميع المعلومات على الخدمات ديال اورنج:\n"
},
{
"text": " Je suis à votre disposition pour vous renseigner sur les services d'Orange:\n"
},
{
"attachment":{
"type":"template",
"payload":{
"template_type":"generic",
"elements":[
{
"title":" بغيتي تكمل :\n Voulez-vous continuer en",
"default_action": {
"type": "web_url",
"url": "",
"webview_height_ratio": "",
},
"buttons": [
{
"title": "الدارجة",
"type": "postback",
"payload": "switchtoarabic",
"url": "",
"messenger_extensions": true,
"webview_height_ratio": "compact",
"background":"red",
},
{
"title": "Français",
"type": "postback" ,
"payload": "Menu principal",
"url": "",
"messenger_extensions": true,
"webview_height_ratio": "compact",
}
]
}
]
}
}
}
];
答案 0 :(得分:0)
您可以在网络聊天集成>代码> CSS中轻松更改它们