How to disable the option to delete chat messages?
By default, admins can delete chat messages any time. Note that this option is only available for admins.
To hide this option, add to your chat CSS this code.
.options-dialog .clear-messages { display: none; }

Add this CSS code using the admin panel (see how in here for web CSS, here for mobile CSS).