Question: how to retrieve deleted messages on mac?
Answer: Sign out of iMessage on your Mac and quit the app. Open the Finder. Select Go from the Finder menu. Locate your library. Find a file named [messages] from an iCloud backup date that is before the day the files you are looking for is deleted. Open this messages folder. Click restore.