Use the Google Assistant Response type for rich controls

Inside the Google Assistant response type in Dialogflow, you can see different options such as:

To create the Yes and No buttons in the screenshot, here is the corresponding response block inside Dialogflow: