SendText Method
      
 

Description

Sends simple text message.


Return Type

None  


Syntax

object.SendText JID, Text



The SendText 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.
Text Required. A String value. Plain message text that will be sent to user.

Remarks

Use this method to send a simple text message to user specified using his JID. Unlike SendMessage method which accepts wodXMPPMessage object as second parameter, SendText method accepts String value.