Back to product page

SendMessage method


Sends message to the contact.

Syntax

  • Basic
object.SendMessage (Message)
The SendMessage(object,Message) syntax has these parts:
objectAn expression evaluating to an object of type XMPPContact
MessageXMPPMessage object

Remarks

Sends message (through XMPPMessage object) to the user specified by JID parameter. Message parameter in this case isn't a String value containing the text you wish to send, but a reference to XMPPMessage object. If you wish wodXMPP to create XMPPMessage object automatically, you should use SendText method.

Platforms

Windows