contacts.getContactName
Description
Get a contact name from a contact ID.

Parameters
contactID number

Return value
fullName string ("" if not found)

Example
local fullName = contacts.getContactName(1234)
if(fullName == "") then
    print("Contact not found")
else
    print("Contact Name: " .. fullName)
end

Comments
This returns the contact's title, first name and surname concatenated into a single string.

See also

Back