Hi Adam , thanks for a reply, I tried to implement it, but it works in a messenger, not in a chat.
I want to replicate functionality of the embedded chat, when you right click on a user, and there is an option
"private chat", once you click that , the users gets an invitation for a private chat in a popup window.
I want to do the same thing , but not from inside the embedded chat, but just by clicking on a user in my page.
Thanks.