Deleting a user from the tree-like common list.
function mDeleteUserFromCommonContacts(iUIN: integer): boolean;
Parameter |
Тип |
Value |
---|---|---|
iUIN |
integer |
identifier of a user, which you need to delete. |
"True", if a user existed in the common contact list and was successfully deleted. "False", if a user with such UIN does not exist in the common contact list.
begin
if mDeleteUserFromCommonContacts(6) then mLogScript('User deleted from the common contacts list', '')
else mLogScript('User with UIN 6 isn''t in the common contacts list', '');
end.
[19:58:02] (Log "mDeleteUserFromCommonContacts"): User deleted from the common contacts list