do only mammals get electrocuted? is there a saying that the animals who do not drink milk (invertebrates,fish,birds) are not effected by electrocution?

Electrocution is when an electric shock passes through a living body. Any organism can experience it but the effects can vary between organisms.

certainly it stuns fish!