IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

MessageIn Event

This event is fired upon receipt of a message.

Syntax

[VB.NET]
Public Event OnMessageIn As OnMessageInHandler
[C#]
public event OnMessageInHandler OnMessageIn;

public delegate void OnMessageInHandler(object sender, XmppMessageInEventArgs e);

class XmppMessageInEventArgs : EventArgs {
  string MessageId {get;}
  string From {get;}
  string Domain {get;}
  string Resource {get;}
  int MessageType {get;}
  string Subject {get;}
  string MessageThread {get;}
  string MessageText {get;}
  string MessageHTML {get;}
  string Other {get;}
}

Remarks

When a message is received, the XMPP component will parse the sender's Jabber ID into the From, Domain, and Resource fields. These parameters can be used to track the exact instance of a user's account that originated the message.

MessageId can be used with Jabber extension protocols. The MessageText parameter is the plaintext portion of the message body. MessageHTML will contain any HTML from the message.

Type the type of message received. See MessageType for a list of possible values. For message of type "headline", Subject will reflect the subject of the message. For messages of type "chat", Thread will report the conversation thread for which the current message is a follow-up.

Other will contains any extra data associated with the message but not defined by the XMPP-IM protocol.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0