Notify Method
      
 

Description

Sends notification to some JID.


Return Type

None  


Syntax

object.Notify JID, NotifyID, [Data]



The Notify 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 receive the notification.
NotifyID Required. A ContactNotifyEnum enumeration, as described in settings. A ContactNotifyEnum enumeration, as described in settings.
Data Optional. 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 (currently only UserTyping notification).

 

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.