在BOT仿真器中显示有关自适应卡的注释

时间:2019-10-10 16:38:13

标签: bots adaptive-cards

我正在使用BOT仿真器中的自适应卡显示一些数据,我想在那里添加一个注释部分。我尝试过这种方式:

{
                                "type": "Action.ShowCard",
                                "title": "Comment",
                                "card": {
                                    "type": "AdaptiveCard",
                                    "body": [
                                        {
                                            "type": "Input.Text",
                                            "id": "test",
                                            "isMultiline": true,
                                            "placeholder": "Enter your comment",

                                        }
                                    ],
                                    "actions": [
                                        {
                                            "type": "Action.Submit",
                                            "id":"submit",
                                            "title": "OK",

                                            "data":
                                            {
                                                "test":""
                                            }

                                        }
                                    ],
                                    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
                                }
                            }

                        ]

但单击“确定”操作时未获得任何输出。我们该怎么办?

0 个答案:

没有答案