macOS Messages app: how can I undo the deletion of a conversation?
In the Messages app Preferences, sign out.
Quit Messages.
From Time Machine


restore ~/Library/Messages/
restore ~/Library/Containers/com.apple.iChat/Data/Library/Messages/

Log out.


This worked. I summarized here from received wisdom.