Send message to online friend

Options
Hi
I'm using Photon Server and I want to know how to send an invitation message to "friend" that is connected to photon server to get room name and join it.

example:
public override void OnUpdatedFriendList()
{
if (PhotonNetwork.Friends.Count != 0)
{
if (PhotonNetwork.Friends[0].IsOnline && !PhotonNetwork.Friends[0].IsInRoom)
{
// Send message(string) to PhotonNetwork.Friends[0].Name
}
}
}