Back to product page

SendText method


Sends simple text message.

Syntax

  • Basic
object.SendText (JID, Text)
The SendText(object,JID,Text) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
JIDA String value. Determines which JID will message be sent to.
TextA 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 XMPPMessage object as second parameter, SendText method accepts String value.

Platforms

Windows