You can delete chat messages In Microsoft Teams after you've sent them, but you can only hide messages from other users.
You can mute messages on a Mac with a "Do Not Disturb" setting across your general notifications, or mute individual ...