code: def _send_xmpp_element(self, xmpp_element: XMPPElement):
          
          while not self.connected:
              log.debug("[!] Waiting for connection.")
              time.sleep(0.1)
  
          self.loop.call_soon_threadsafe(self.connection.send_raw_data, (xmpp_element.serialize()))
          return xmpp_element.message_id
docs: Serializes and sends the given XMPP element to kik servers
  
          :param xmpp_element: The XMPP element to send
          :return: The UUID of the element that was sent