Back to product page

Notify method


Sends notification to some JID.

Syntax

  • Basic
object.Notify (JID, NotifyID, [Data])
The Notify(object,JID,NotifyID,Data) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
JIDA String value. Determines which JID will receive the notification.
NotifyIDA ContactNotifyEnum enumeration, as described in settings.
DataOptional. A Variant value. Optional parameter. Specifies data to be sent along with notification.

Remarks

This method sends notification to some contact, provided through JID argument. Type of notification is defined as NotifyID parameter. Depending on chosen notification type, you should set appropriate Data value too.
For possible list of available NotifyID values click here.
JID can contain any user no matter if he is on your contact list or not. It can also contact contact's Resource, but you can also leave it out.

Platforms

Windows