Do any of the following to delete one or more messages:
Delete messages: .
Delete a conversation: Select a conversation, then choose File > Delete Conversation. Or if you have a trackpad or Magic Mouse, you can also swipe left with two fingers on the conversation in the sidebar, then click the Delete button Change General preferences in Messages on Mac