I smell BS. The Russians had no reason to tip off Erdogan, on the contrary, they would have applauded if the coup had been successful.
I gave the reason in the post you are responding to. Turkish military is pro-Western and we are losing an ally with this. That benefits Russia.