Hi Kranthi,
I don't believe there is currently a way to hide or disable the "Type your message" input field in Genesys Messenger when using Digital Menu or Yes/No prompts. The buttons act as suggested responses, but users can still type free text.
There was a similar discussion in the community that might be helpful as well:
https://community.genesys.com/discussion/disabling-typed-input-in-a-digital-bot
From what I understand, the only way to fully control that behaviour would be through a custom Messenger UI, otherwise the typical approach is to validate the input and reprompt if it doesn't match the expected options.
Hope this helps.
------------------------------
Phaneendra
Technical Solutions Consultant
Monash University
Australia
------------------------------