Yes, Snapchat spy apps can detect selected messages upon installation. However, note that you can't extract messages deleted before the spy app's installation.