How to recover WhatsApp media after getting a new phone?
Backup your Whatsapp data in your old iPhone 6 to iCloud. Once it's successful, restore the backup data on your new iPhone 8.

Hope this helps.

I don't think there is any other way to restore it.