public static switch_status_t switch_core_chat_send(string dest_proto, switch_event message_event) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send(dest_proto, switch_event.getCPtr(message_event)); return ret; }