Possible Finance interview question

Implement a chat like slack