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
Generated on the 26 June 2024 at 22:01:27 (UK Time)