Protocols/MSNP/Activities/SDK/Techref/Flags/ReceiveIM: Difference between revisions
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:47 +01:00 using Anima's CHM converter based on techref/flags/ReceiveIM.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= Permission Flags - ReceiveIM = | __NOTOC__= Permission Flags - ReceiveIM = |
Latest revision as of 22:45, 12 August 2022
Permission Flags - ReceiveIM
If an application has the ReceiveIM flag enabled in the MSN® Messenger Activity directory, then the Channel object will have access to an additional event, OnIMReceived, and an additional read-only property, IM. This event and this property allow an application to inspect any incoming instant message.
The OnIMReceived event is fired when an instant message is received.
The IM property is a read-only string that contains the instant message.
An application must be able to demonstrate a need for the ability to inspect messages from the remote user, in addition to the data that is received from the remote application, to be considered a candidate for this permission flag.
This permission flag might be useful for translation software, which might print the translated version of an incoming message in the application space.