Admins can search for and remove confidential or sensitive chat and channel messages in Microsoft Teams conversations.
If an admin removes a message, you’ll see a system message that says This message was deleted by an admin in place of the one that was removed.
To learn more, see Find and delete Microsoft Teams chat messages in eDiscovery.