Pokemon-go – Are Pokemon training in a gym damaged

pokemon-go

I couldn't find an existing question asking this, and the accepted answer for How does training work? says:

I don't think your returning Pokémon is buffed or damaged, but I can't say for certain

So, do you need to heal your Pokemon after training in a Gym, i.e. are they damaged? Do you need to revive them?

Best Answer

Yes, after training at a Pokégym, if your Pokémon takes any damage, they will need to be healed. Note, if your Pokémon loses, he will faint and need to be revived.

source: personal experience