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


TMsgClient.RemoveUserFromContacts
TMsgClient
Top 

Removes a user from contacts list of this client.

function RemoveUserFromContacts(UserID: Cardinal): Integer;

Description
Call RemoveUserFromContacts to remove the user with UserID from contacts list of this client. UpdateUserInContacts sends command to the server, waits for an answer, then updates local contacts list of this client and returns MSG_COMMAND_OK if this operation executed successfully, otherwise it returns one of the following error codes:

Name
Value
MSG_Error_RemoveUserFromContacts_NotConnected   
MSG_Error_RemoveUserFromContacts_SendCommandFailed   
MSG_Error_RemoveUserFromContacts_ReceiveResultFailed   
MSG_Error_RemoveUserFromContacts_InvalidParams   
MSG_Error_RemoveUserFromContacts_InvalidServerReply   
MSG_Error_RemoveUserFromContacts_Failed   
MSG_Error_RemoveUserFromContacts_UserDoesNotExist
MSG_Error_RemoveUserFromContacts_NotLogged
60054   
60055   
60056   
60057   
60058   
60059   
60060
60109


Here you can see the full list of the Return Codes and Error Codes of Client Methods.




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