your machine never talks to the other parties machine directly. the messenger server sits in between so you only know the ip of messenger server.
however you can use some social engineering, such as: convince the other party to send you an email then you know the ip from the email header
however you can use some social engineering, such as: convince the other party to send you an email then you know the ip from the email header