Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Properties/IMro: 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:46:01 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/channel/properties/IMro.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= <a class="clsStd" href="/techref/objectmodel/objects/channel/index.htm">Channel</a>.IM (read-only) Property (Restricted) = | __NOTOC__= <a class="clsStd" href="/techref/objectmodel/objects/channel/index.htm">Channel</a>.IM (read-only) Property (Restricted) = |
Revision as of 22:46, 12 August 2022
<a class="clsStd" href="/techref/objectmodel/objects/channel/index.htm">Channel</a>.IM (read-only) Property (Restricted)
This property returns a string containing the instant message that has been received. It contains new data whenever the OnIMReceived event fires. This property is read-only and is labeled "restricted" because it is only available if the application has the ReceiveIM permission. For more information, see Standard vs. Advanced Applications.
VBScript Syntax
external.Channel.IM
JavaScript Syntax
window.external.Channel.IM
Property Value
A string object containing the instant message received from the remote MSN® Messenger client.
Example
This example illustrates the display of a received instant message.
// Receiving the contents of an IM requires ReceiveIM permission flag. var myChannel = window.external.Channel; function Channel_OnIMReceived() { var myLocalCopy; myLocalCopy = myChannel.IM; txtDebugOut.innerHTML = "Received: " + myLocalCopy; }
Remarks
This property contains data that should be inspected every time the OnIMReceived event occurs.