| Microsoft Chat Server SDK Reference |
|---|
This event allows an extension to monitor all IRC and IRCX protocol messages sent to a specific channel.
Visual Basic:HRESULT OnChannelText(IChatChannel *Channel,IChatUser *User,IRC_COMMAND_TYPE Type,BSTR *Message,VARIANT_BOOL PostUpdate,long *Cancel);
Function IChatChannelCallBack_OnChannelText( _ByVal Channel As CHATSVCLib.IChatChannel, _ByVal User As CHATSVCLib.IChatUser, _ByVal Type As CHATSVCLib.IRC_COMMAND_TYPE, _ByRef Message As String, _ByVal PostUpdate As Boolean) As Long
Message during the pre-update notification. Protocol messages addressed to multiple channels will trigger this notification for each channel. The pre-update notification allows the extension to either change or cancel the channel message.
Whispered messages between users do not trigger OnChannelText notifications.
© 1998 Microsoft Corporation. All rights reserved.