protected virtual void OnChatReceived(ChatEventArgs e) { EventHandler handler = ChatReceived; handler?.Invoke(this, e); }