Protocols/MSNP/Activities/SDK/Techref/Flags/SendIM: 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:48 +01:00 using Anima's CHM converter based on techref/flags/SendIM.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= Permission Flags - SendIM = | __NOTOC__= Permission Flags - SendIM = |
Latest revision as of 22:45, 12 August 2022
Permission Flags - SendIM
If an application has the SendIM flag enabled in the MSN® Messenger Activity directory, then two additional methods are available to the Channel object: EnterIM and SendIM. Using these methods, an application can send an instant message to the remote Messenger Chat History window.
Using SendIM, an instant message is sent from the application. In the Chat History window, this looks like a conversant with the name of the application.
Using EnterIM, the message is entered into the text input window, overwriting any existing message. The user must press ENTER to send the message. This message will appear to come from the user.
An application must be able to demonstrate a need for the ability to send instant messages, in addition to sending data to the remote application, to be considered for this permission flag.
This permission flag might be useful for games, where scores are communicated by instant message, allowing the user to save the results with the conversation.