Question: how to transfer messages on 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.