SendMessage Method
      
 

Description

Sends message to some JID.


Return Type

None  


Syntax

object.SendMessage JID, Message



The SendMessage Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodXMPP.
JID Required. A String value. Determines which JID will message be sent to.
Message Required. A XMPPMessage object. A reference to wodXMPPMessage object which will be sent.

Remarks

Sends message (through wodXMPPMessage 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 wodXMPPMessage object.

If you wish wodXMPP to create wodXMPPMessage object automatically, you should use SendText method.