Currently, the Chat post and sendMessage events cannot be prevented. I have logged an enhancement issue in the official Kendo UI GitHub repository and you can start tracking its progress from here(#4609)
One thing that you can try to achieve similar result is to subscribe to the sendMessage event
and conditionally set the text and message box to empty. In this way, no message will be rendered in the Chat view:
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.