单击MS bot框架后禁用按钮 [英] Disable button once clicked MS bot framework

查看:68
本文介绍了单击MS bot框架后禁用按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MS bot框架创建chatbot应用程序.在这种情况下,一旦单击是"或否",我想禁用两个按钮.

I am creating chatbot application using MS bot framework. In that, I want to disable both buttons once Yes or No is clicked.

推荐答案

对不起,但是网络聊天(和其他渠道)不支持您想要做的事情,即使在很多情况下它都很有用.

Sorry but the webchat (and other channels) does not support what you want to do, even if it would be useful for many cases.

如果您确实需要使用无法使用的按钮,则有一种解决方法:使用SuggestedActions(请参阅doc

There is a sort of workaround if you really need to have buttons that cannot be used: use SuggestedActions (see doc here), it will look like the following:

单击一次按钮将消失.

这篇关于单击MS bot框架后禁用按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆