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.
AddContact(
[string] Email
);
This function typically fails for the following reason:
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.
| Object | ChatWnd |
|---|---|
| Availability | Messenger Plus! Live 4.10 |