contacts.clearContactNotes
Description
Clear the notes of a contact. This will delete the contact's notes entirely and cannot be undone.

Parameters
contactID number

Return value
none

Example
-- Example 1: clear notes for contactID 1000
contacts.clearContactNotes(1000)

-- Example 2: clear the notes for contact NUMBER 1100
local contactID = contactIDToContactNumber(1100)
if contactID > 0 then
    contacts.clearContactNotes(contactID)
else
    print("Contact not found")
end

Comments
Do not confuse contact IDs with contact numbers.

See also
contacts.getContactNotes
contacts.appendContactNotes

Back