You login to the game with your Xbox Account. Windows 10 has Xbox app pre-installed. This app actually openes up Xbox interface where you can message .