Persistent chat window with id

HI

can we have an chat window between 2 person. give it an id. continue chatting when online each other.

a thing like chat in spark but with an id.

e.g. two person can chat in multi window together.

like combining group chat and usual chat for tow person?

Thankful.