Using the SDK to disable buttons

I want to reopen the conversation posed by this previous post: https://test-discourse.kore.ai/t/how-to-disable-entity-node-buttons-after-clicking-on-it/1373. How would one go about disabling buttons using the sdk?

ie. making that the yes or no buttons in the image below are disabled after they have been clicked