Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Index: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:45:52 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/channel/index.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= Channel Object = | __NOTOC__= Channel Object = |
Revision as of 22:45, 12 August 2022
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