There is nothing wrong with deleting a chat. It is foolish to incriminate oneself by keeping unnecessary chats. Whether they should have been using a chat or not for government business is another matter.
If you’re working in government and in some cases outside of government you have communications retention requirements.
Then there’s the destroying evidence once you’re aware of an investigation part.