My iPhone typically runs cold.
If I saw that message, I would be contacting Apple right away. If I had Apple Care, I would take advantage of it to make sure any internals were not damaged.
I don't think any internals were damaged because my phone is actually working fine now. But it feels good to know that they have that built in.