Question: how to transfer whatsapp messages from iphone to iphone x?
Answer: Firstly, unlock your old iPhone and launch WhatsApp on it.
Go to its Settings > Chats > Chat Backup and tap on the “Back Up Now” button to take an immediate backup.