Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Index
Channel Object
Contains properties, methods, and events for sending and receiving data and for interacting with the MSN® Messenger Chat History window.
Members Table
Event | Description |
---|---|
OnAppClose | The MSN Messenger client is about to shut down. |
OnDataError | There was an unsuccessful SendData operation. |
OnDataReceived | Data was received from the remote application. |
OnFileProgress | There was some progress On a file transfer. Requires SendFile permission. |
OnFileReceived | A file was received from the remote applicatiOn. Requires ActiveX and SendFile permissiOns. |
OnIMReceived | An instant message was received from the remote application. Requires either ReceiveIM or ReplaceIM permission flag. |
OnRemoteAppClosed | The remote application has shut down. |
OnRemoteAppLoaded | The remote application has loaded and is ready to receive Events. |
OnSendFileCancelled | File transfer was canceled. Requires SendFile permission. |
OnTypeChanged | The type of connection between peers has changed. |
Method | Description |
---|---|
CancelSendFile | Cancels a file transfer in progress. Requires SendFile permission. |
EnterIM | Enters a message into the text input window. Requires SendIM permission. |
Initialize | Signals the remote MSN Messenger client that the Activity is ready to accept Events. |
SendData | Sends data to the remote application. |
SendFile | Sends a file from the application. Requires SendFile and ActiveX permissions. |
SendIM | Sends an instant message from the application. Requires SendIM permission. |
SendIMAsUser | Sends an instant message as the user. Requires ReplaceIM permission. |
Property | Description |
---|---|
Data | A variant containing the data received from the remote application. |
Error | An Error object containing data that could not be delivered. |
FileInfo | A FileInfo object that represents a file being sent or received. Requires SendFile permission. |
Type | A ConnectionType value representing the type of connection between peers. |
IM (read-only) | String containing the instant message that was received and displayed. Requires ReceiveIM permission. |
IM (read-write) | String containing the instant message that was received. The message can be changed before it is displayed. Requires ReplaceIM permission. |
Object Information
Minimum Availability: MSN Messenger 6.0