Unfortunately, WhatsApp doesn’t export the subtitles underneath the pictures on iPhones. The good news: You can add them manually  Just activate the “Edit mode” and click on the pen symbol underneath the pictures.
Helpful hint: If you are using your PC to edit your book, you can also open WebWhatsApp in a separate tab to copy and paste the subtitles from your chat into your book