Xmpp 如何从命令行发送jabber消息

Xmpp 如何从命令行发送jabber消息,xmpp,Xmpp,我正在尝试模拟应用程序中的聊天。我在代码中看到它使用websocket和xmpp发送消息: <message xmlns="jabber:client" id="3sdfsdfdsfdfdf" to="9dfsfsdsf@xxxxxx.com" from="dsfsdfsdfs@xxxxxx.com" type="chat"><thread>34234sdfsdffsf&l

我正在尝试模拟应用程序中的聊天。我在代码中看到它使用websocket和xmpp发送消息:

<message xmlns="jabber:client" id="3sdfsdfdsfdfdf" to="9dfsfsdsf@xxxxxx.com" from="dsfsdfsdfs@xxxxxx.com" type="chat"><thread>34234sdfsdffsf</thread><request xmlns="urn:xmpp:receipts"/><body>Good Morning</body></message>
34234sdfsdffsfGood早晨
如何从命令行模拟它? 谢谢