Question: how to transfer messages from whatsapp?
Answer: If you didn't back up your chat history to Google Drive, manually transfer your backup.
Install WhatsApp.
Verify your new phone number.
Restore your backup.