Yea I saw iPhone usage was mentioned in the docs and I have no idea how that’s done. I’ve only tried through my laptop with iMessage sync by issuing
$ sqlite3 ~/Library/Messages/chat.db
and then performing some sql commands
$ sqlite3 ~/Library/Messages/chat.db
and then performing some sql commands
You can get this file from an unencrypted iOS backup: https://github.com/ReagentX/imessage-exporter/blob/c73bc4d66...
Instructions I found from Apple (https://support.apple.com/en-us/HT203977) are to use the Cloud, a Mac, or Windows +iTunes.