Vigneswaran A
Vigneswaran A

Reputation: 590

Disable button once clicked MS bot framework

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

enter image description here

Upvotes: 4

Views: 1039

Answers (2)

Nicolas R
Nicolas R

Reputation: 14599

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

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:

enter image description here

Once clicked the buttons disappear.

Upvotes: 5

Greg
Greg

Reputation: 105

If you are using facebook messenger you can use quick replies. They will disappear after interactions. https://developers.facebook.com/docs/messenger-platform/send-messages/quick-replies

Microsoft.Bot.Builder.ConnectorEx.FacebookQuickReply

Upvotes: 0

Related Questions