Mic
Mic

Reputation: 313

jabber-net chat conversation

I'm making simple XMPP client using Jabber-Net. To send simple message i'm using a way from example code, i.e.:

jabber.protocol.client.Message msg = new jabber.protocol.client.Message(jc.Document);
msg.To = "[email protected]";
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?

Upvotes: 2

Views: 2358

Answers (1)

dtb
dtb

Reputation: 217411

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

Upvotes: 3

Related Questions