MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


Adds new contact to user's contact list.

procedure AddUserToContacts(
                            const OwnerUserID:        Cardinal;
                            const ContactUserID:      Cardinal;
                            const ContactNameSource:  TMsgContactNameSource = mcnsUserName;
                            const ContactCustomName:  ShortString = ''

Call AddUserToContacts to add new contact to user's contact list.
OwnerUserID - UserID of the contact list's owner
ContactUserID - UserID of the contact that will be added
ContactNameSource - determines how to get display name for this contact
ContactCustomName - custom name for the contact when ContactNameSource is set to mcnsCustom.

© AidAim Software MsgCommunicator: Delphi Messenger Sdk Instant Messaging Sdk Im Sd