开发者

jabber-net chat conversation

开发者 https://www.devze.com 2023-01-28 17:37 出处:网络
I\'m making simple XMPP client using Jabber-Net. To send simple mes开发者_高级运维sage i\'m using a way from example code, i.e.:

I'm making simple XMPP client using Jabber-Net. To send simple mes开发者_高级运维sage i'm using a way from example code, i.e.:

jabber.protocol.client.Message msg = new jabber.protocol.client.Message(jc.Document);
msg.To = "adress@jabber.com";
msg.Body = "hello world";
jc.Write(msg);

it works fine, but I would like to send chat message. I mean that in PSI (http://psi-im.org/) i can send to somebody simple message or talk to him on chat (its another kind of form for that). How can it be done in jabber-net?


msg.Type = jabber.protocol.client.MessageType.Chat;
0

精彩评论

暂无评论...
验证码 换一张
取 消