Register now or log in to join your professional community.
if you mean just the design of chat window.
simple HTML markup (div and p and input tags) and some good CSS will make it.
but if you are asking about the full mechanism you should use some web socket technologies like Node JS.
good luck