As-salamu ‘alayka ayyuhan-nabiyyu invokes peace, mercy and blessings upon the Prophet. The following phrase extends peace to the worshipper and all righteous servants of Allah.
These are invocatory words within the prescribed tashahhud, not conversation with another person.