Add message callback and typing notification callback in chat window view