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.