Chat plugin

Hi, I am wondering if the “chat” plugin can be used to allow buddypress users to chat amount themselves if they are friends? like facebook. thanks