Back to product page

SendChat method


Sends simple chat message.

Syntax

  • Basic
object.SendChat (JID, Text)
The SendChat(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 chat message to user specified using his JID. Unlike SendMessage method which accepts wodXMPPMessage object as second parameter, SendChat method accepts String value.

Platforms

Windows