AddictiveTips published a quick tutorial about how to delete chat in Microsoft Teams.
How to delete chat in Microsoft Teams
Messaging apps are a fairly simple way of keeping a record of a conversation. The messages that are sent/received remain on the device or synced.

How to delete chat in Microsoft Teams