While each app is unique, the fundamental concepts are usually the same. To erase anything from your Mac, even messages in other applications, try selecting the appropriate entry and delete it.