public void SendMessageText(string message) { if (OnMessageSend != null) { OnMessageSend(message); } genericInput.SetText(string.Empty); hasTyped = false; }