Messenger Plus! Live - Scripting Documentation

The ChatWnd::AddContact function invites a contact to join the current conversation. If the invitation succeeds, every message sent in the chat will be received by the new contact as well.

Syntax

AddContact(
    [string] Email
);

Parameters

Email
[string] Email of the contact who will be added to the conversation.

Return Value

This function typically fails for the following reason:

Remarks

Messenger can limit the number of contacts who can participate simultaneously to a same chat. Invitations are never guaranteed to be successful, use the ChatWndContactAdded event to confirm the addition.

Function Information

Object ChatWnd
Availability Messenger Plus! Live 4.10

See Also

ChatWnd Object, OnEvent_ChatWndContactAdded.