Unimplemented. Only fired if Activity has `ReceiveIM` permission.
Triggered by retriving a chat message to the local client.
The local client should handle the data given in `window.external.Channel.IM` as a string.
If the Activity was to have the `ReplaceIM` permission, `window.external.Channel.IM` is writable, for which the modified value will be the message sent to the chat-box.
### Channel_OnRemoteAppClosed
Triggered when the remote client's Activity window has been destroyed.
The local client should be expected to clean up and display a "remote client has left" message.
### Channel_OnRemoteAppLoaded
Triggered when the remote client's Activity window has fired `window.external.Channel.Initialize()`.
The local client can see the new connection type by getting `window.external.Channel.Type` (or `eConnectionType`'s value), which provides these values:
Unimplemented. Opens the phone dialer with a pre-filled number on the local client. Doesn't initiate the call.
## window.external.Users
### window.external.Users.Item(lPos: long)
Returns the User object from the list of users in the Activity Channel.
### window.external.Users[Symbol.iterator]
Get the User object from the list of users in the Activity Channel.
### window.external.Users.Count
Get the number of total User objects in the list of users.
### window.external.Users.Me
Get the local client's User object from the list of users.
### window.external.Users.Inviter
Get the initiating client's User object from the list of users.
# Permission Flags
*`ActiveX`: Allows unspeakable evils.
*`EnableIP`: Allows the local client to use the `LocalIP` and `GlobalIP` properties from it's own User object.
*`PassportSiteID`: Allows the local client to use the `EMail` and `Name` properties in any User object, and `PUID` from it's own User object. Authenticates.
*`ReceiveIM`: Allows the Activity to read Instant Messages sent from the remote client. Enables `Channel_OnIMReceived` event.
*`ReplaceIM`: Allows the Activity to read and overwrite Instant Messages from the remote client, and send messages as the local client. Enables `Channel_OnIMReceived` event and the `Channel.SendIMAsUser` method.
*`SendFile`: When combined with `ActiveX`, allows File operations to occur. Enables `Channel_OnFileReceived`, `Channel_OnSendFileCancelled` events, and `Channel.SendFile` and `Channel.CancelSendFile` methods.
*`SendIM`: Allows the Activity to send Instant Messages or enter text into the local client's chat-box text input. Enables `Channel.EnterIM` and `Channel.SendIM` methods.
*`UserProperties`: Allows the local client to use the `EMail` and `Name` properties in any User object, and `PUID` from it's own User object. Does not authenticate.