contacts.getContactName
Get a contact name from a contact ID.
contactID number
fullName string ("" if not found)
local fullName = contacts.getContactName(1234)
if(fullName == "") then
print("Contact not found")
else
print("Contact Name: " .. fullName)
end
This returns the contact's title, first name and surname concatenated into a single string.
Generated on the 26 June 2024 at 22:01:27 (UK Time)