how do i transfer my whatsapp messages to my new phone?
You can find the option under WhatsApp Settings > Chats > Chat Backup. You can choose whether to back up the media files or just the chat along with the frequency of backup. On your new smartphone, you will be prompted to restore the chat history stored over your Google Drive account, as soon as you log in to WhatsApp.